
Chapter 14. Statement Reference
263
• If CR/LFcontrol is a semicolon (;), the PRINT # statement outputs data without 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 # statement,
you should use an underline (_) preceding a CR code, not a comma (,) preceding CR
code.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 71: Syntax error
• filenumber is missing.
• data contains a comma (,) or semicolon (;).
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
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 communications
device files.)
3Ah
File number out of the range
Reference:
Reference:Reference:
Reference:
Statements: OPEN
Kommentare zu diesen Handbüchern