Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
begin is used for grouping several expression together so that
they syntactically are treated as if they were one expression. This is
particularly important when syntactic expressions are used which only
allow one expression, but the programmer wants to use more than one
expression in that place. As an example, consider the conditional
(if (> x 0) (begin (display "greater") (newline)))
If the two calls to
newline were not embedded
begin-statement, the call to
newline would get
misinterpreted as the else-branch of the
begin-expression. This expression type is used when the expressions before the last one are evaluated for their side effects.
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|