Chapter 14. Statement Reference
298
• If
CR/LFcontrol
is a semicolon (;), the
#
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
#
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
#
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
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...