SET SPACE

From Lianjapedia
Jump to: navigation, search

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