<< _ _ _ GROUP _ _ _ _ _ _ _ _ _ _ _ _ command
The <<...>> command is a group statement, used to group statements together where REDUCE expects a single statement.
<statement> may be any valid REDUCE statement or expression.
a := 2; A := 2 if a < 5 then <<b := a + 10; write b>>; 12 <<d := c/15; f := d + 3; f**2>>; 2 C + 90*C + 202 ---------------- 225
The value returned from a group statement is the value of the last individual statement executed inside it. Note that when a semicolon is placed between the last statement and the closing brackets, 0 or nil is returned. Group statements are often used in the consequence portions of if...then, repeat...until, and while...do clauses. They may also be used in interactive operation to execute several statements at one time. Statements inside the group statement are separated by semicolons or dollar signs.