Specifications
Chapter 14. Statement Reference
298
• If
CR/LFcontrol is a semicolon (;), the PRINT # statement outputs data with-
out adding spaces or control codes.
Statement example:
PRINT #1,"ABC";"123";
Output: ABC123
• If neither a comma (,) nor semicolon (;) is specified to CR/LFcontrol, the
PRINT # statement adds a CR and LF codes.
Statement example:
PRINT #1,"ABC123"
Output: ABC123 CR LF
To extend one program line to more than 512 characters in a single PRINT # state-
ment, you should use an underline (_) preceding a CR code, not a comma (,) pre-
ceding a CR code.
Syntax errors:
Run-time errors:
Reference:
Error code and message Meaning
error 71: Syntax error • filenumber is missing.
•
data contains a comma (,) or semi-
colon (;).
Error code Meaning
34h
Bad file name or number
(You specified
filenumber of an unopened file.)
36h
Improper file type
(You specified
filenumber of a file other than communica-
tions device files.)
3Ah
File number out of the range
Statements:
OPEN