Difference between revisions of "SET SPACE"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Enable or disable spaces between expression output | Enable or disable spaces between expression output | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [?], [??] | + | [[?]], [[??]], [[SPACE()]] |
Line 23: | Line 16: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set space on | set space on | ||
? "A","B",(2*3),(2+6),"C" | ? "A","B",(2*3),(2+6),"C" | ||
Line 29: | Line 22: | ||
set space off | set space off | ||
? "A","B",(2*3),(2+6),"C" | ? "A","B",(2*3),(2+6),"C" | ||
− | AB 6 8C</ | + | AB 6 8C |
+ | </code> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|SPACE]] | [[Category:Set_Commands|SPACE]] | ||
+ | [[Category:Input Output]] | ||
+ | [[Category:Input Output Set Commands]] |
Latest revision as of 15:36, 25 November 2009
Purpose
Enable or disable spaces between expression output
Syntax
SET SPACE ON | OFF | (<expL>)
See Also
Description
The SET SPACE command affects the way that the ? and ?? commands output expressions. If SET SPACE is ON, a space is output after each expression is output. When SET SPACE is OFF, a space is not output after each expression is evaluated. The ? command outputs a carriage return, then a line feed, then evaluates each expression in turn and displays the result. The ?? command evaluates the expression and displays the results on the same line, and no carriage return/line feed sequence is output. By default, SET SPACE is ON.
Example
set space on ? "A","B",(2*3),(2+6),"C" A B 6 8 C set space off ? "A","B",(2*3),(2+6),"C" AB 6 8C
Products
Recital Server, Recital