WRITE¶
Syntax¶
Versions: Disk
Purpose¶
To output data at the terminal.
Remarks¶
If is omitted, a blank line is output. If
is included, the values of the expressions are output at the terminal. The expressions in the list may be numeric and/or string expressions, and they must be separated by commas.
When the printed items are output, each item will be separated from the last by a comma. Printed strings will be delimited by quotation marks. After the last item in the list is printed, BASIC inserts a carriage return/line feed.
WRITE outputs numeric values using the same format as the PRINT statement.