The PRINT# statement writes the specified
data to the communications device file for transmission--a command
to a printer, for example.
Adding a semicolon to the PRINT statement suppresses the automatic
carriage return normally added to the output.
| Output control |
Output character |
| ; (semicolon) |
Suppress the automatic carriage return.
| Program |
Output |
| PRINT #1, "ABC";"123"; |
ABC123 |
|
| Blank |
Add CR-LF pair.
| Program |
Output |
| PRINT #1, "ABC123" |
ABC123 [CR] [LF] |
|
Set fileno to the value specified when opening the communications
device file. |