Difference between revisions of "??"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Evaluate expression and output result | Evaluate expression and output result | ||
Line 37: | Line 33: | ||
|- | |- | ||
|STYLE <expC3>||The STYLE qualifier has been added for compatibility with other Xbase languages. | |STYLE <expC3>||The STYLE qualifier has been added for compatibility with other Xbase languages. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 66: | Line 45: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Input Output]] | [[Category:Input Output]] | ||
[[Category:Input Output Commands]] | [[Category:Input Output Commands]] |
Latest revision as of 16:22, 5 July 2011
Purpose
Evaluate expression and output result
Syntax
? <exp> [,<exp>] | ?? <exp> [,<exp>]
[AT <expN>]
[FUNCTION <expC1>]
[PICTURE <expC2>]
[STYLE <expC3>]
See Also
?, @...GET, @...SAY, ACCEPT, ECHO, INPUT, SET SPACE, TRANSFORM(), WAIT
Description
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, no carriage return/line feed sequence is output. If more than one expression is specified and SET SPACE is ON, a single space is output between each expression. If SET SPACE is OFF, the expressions are output with no space in between.
Clause | Description |
---|---|
AT <expN> | You may optionally specify the column at which the expression will be output with the AT <expN> clause. |
PICTURE <expC1> | The PICTURE clause supports all picture template symbols listed in the @...SAY command. |
FUNCTION <expC2> | The FUNCTION qualifier allows picture functions to be specified. Normally this can be done with the PICTURE qualifier by preceding the picture with '@'. If the FUNCTION qualifier is used the '@' is not needed. |
STYLE <expC3> | The STYLE qualifier has been added for compatibility with other Xbase languages. |
Example
?? "price" at 01 picture "@!",1234.56 picture "$99,999.99" PRICE $1,234.56
Products
Recital Server, Recital