Difference between revisions of "SET SPACE"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET SPACE=
 
 
 
 
==Class==
 
==Class==
 
Input/Output
 
Input/Output
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<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 26:
 
set space off
 
set space off
 
? "A","B",(2*3),(2+6),"C"
 
? "A","B",(2*3),(2+6),"C"
AB        6        8C</pre>
+
AB        6        8C
 +
</code>
  
  

Revision as of 11:29, 20 April 2009

Class

Input/Output


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 Database Server, Recital Mirage Server, Recital Terminal Developer