The out statement outputs a single ASCII character derived from a numeric expression in the range of 0 through 255, which indicates its corresponding position in the ASCII table.
Syntax
out num.exp |
Parameter(s)
num.exp |
Expression whose result is converted to its ASCII character equivalent. |
Description
num.exp must evaluate to a decimal number. It is evaluated and adjusted (mod(expression,256)) to a value between 0 and 255. The corresponding ASCII character displays on the terminal.
Example(s)
This prints char(7) and rings the terminal bell.
out 7 |
See Also