Differences
This shows you the differences between two versions of the page.
|
reference:lp0302 [2010/01/17 21:59] don |
reference:lp0302 [2010/01/31 14:46] (current) don |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| : STDERR/SYSERR/ERROR | : STDERR/SYSERR/ERROR | ||
| : CONSOLE | : CONSOLE | ||
| - | : STRING var | ||
| : FILE file | : FILE file | ||
| The expression is any valid LynPlex expression. | The expression is any valid LynPlex expression. | ||
| - | By default the PUT command always ends with a new line character, whether the output is to a file or the console. | + | By default the PUT command always ends with a new line character, whether the output is to a file or a console. |
| - | The new line can be suppressed if the last character of the expression is the concatenation character (:). In this case the next PUT statement will then continue from this point. | + | The new line can be suppressed if the last character of the expression is the concatenation character (:). In this case the next PUT statement will continue from this point. |
| + | |||
| + | The default output destination can be changed during execution using the [[lp0110#OPTION statement]]. | ||
| + | |||
| + | The AT option is only used for console output. See [[lp0305#AT]]. | ||
| ===== USING Option ===== | ===== USING Option ===== | ||
| Line 32: | Line 35: | ||
| Once a formatting string has been specified it is kept as the current formatting string until a new string is provided in a subsequent statement. To use the same formatting string just enter USING in a PUT statement without a new string. PUT will use the format from the previous call. | Once a formatting string has been specified it is kept as the current formatting string until a new string is provided in a subsequent statement. To use the same formatting string just enter USING in a PUT statement without a new string. PUT will use the format from the previous call. | ||
| - | It is also possible to format an expression using the FORMAT function. | + | It is also possible to format an expression using the [[lp0302#format_function|FORMAT Function]]. |
| - | See [[lp0302#format_function|FORMAT Function]] and [[lp0302#formatting_syntax|Formatting Syntax]] below. | + | |
| + | For more information see [[lp0302#formatting_syntax|Formatting Syntax]] below. | ||