?, ??, Set Space, Set("Space")
These commands let you produce streaming output (as opposed to the line-oriented output of @ .. SAY). ? and ?? produce output. SET SPACE determines whether a space is used between output items. Usage | ? | ?? [ uExpr1 [ PICTURE cMask ] [ FUNCTION [ cCodes ] [ V nWidth ] ] [ AT nColumn ] [ FONT cFontName [, nFontSize ] [ STYLE cStyleCodes ] ] [ , eExpr2 [ ... ] ] ] SET SPACE ON | OFF cSpaceSetting = SET("SPACE") |
Parameter | Value | Meaning |
uExprn | Expression | The nth expression to print. |
cMask | Character | Output mask using the same codes as the InputMask property. |
cCodes | Character | Function codes using the same list as the Format property. |
nWidth | Numeric | The number of columns to devote to this item. |
nColumn | Numeric | Starting column for this item. |
cFontName | Character | Font to use for this item. |
nFontSize | Numeric | Font size to use for this item. |
cStyleCodes | Character | List of style codes to use in the specified font. |
Example | ? $12345 PICTURE "999,999,999" FUNCTION "$" && displays $12,345 USE Employee ? First_Name,Last_Name && Looks good SET SPACE OFF ? First_Name,Last_Name && Looks awful |
See Also | @...Say, Format, InputMask, Set, Set Bell, Set Print |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.