Difference between revisions of "SET SPACE"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Enable or disable spaces between expression output
 
Enable or disable spaces between expression output
 
  
 
==Syntax==
 
==Syntax==
 
SET SPACE ON | OFF | (<expL>)
 
SET SPACE ON | OFF | (<expL>)
 
  
 
==See Also==
 
==See Also==
 
[[?]], [[??]], [[SPACE()]]
 
[[?]], [[??]], [[SPACE()]]
 
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 24: Line 20:
 
AB        6        8C
 
AB        6        8C
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Revision as of 12:24, 12 December 2012

Purpose

Enable or disable spaces between expression output

Syntax

SET SPACE ON | OFF | (<expL>)

See Also

?, ??, SPACE()

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

Lianja Server, Lianja