Command TEXT Foundation
Displays, outputs or assigns literal text.
TEXT [TO PRINTER] | [TO FILE <cFilename>]
<Text>
ENDTEXT
or
TEXT [INTO <variable> [TRIMMED]] |
[INTO <variable> WRAP] |
[INTO <variable> WRAP <cLineBreak> [TRIMMED]]
<Text>
ENDTEXT
The command TEXT...ENDTEXT designate a block of text in the source code which is to be output to the screen, the printer, a file or to be assigned to a variable. Macro variables are replaced, but not macro expressions. To suppress output on the screen, the command SET CONSOLE OFF must be executed before this command is called, unless TEXT INTO is used.
The text is output as it appears in the source code, including indentation using blank spaces or tab characters. If TEXT INTO .. TRIMMED is used, the text will be left trimmed, ie. spaces will be removed from the left side.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.