Chapter 15. Function Reference
382
Syntax:
Syntax 1 (Changing the value of a header):
STX$=stringexpression
Syntax 2 (Returning the current value of a header):
STX$
Parameter:
stringexpression
A string expression which returns a single-byte character.
Description:
■
Syntax 1
STX$
modifies the value of a header (one of the text control characters) which indi-
cates the start of data text in the BHT-protocol when a data file is transmitted by an
XFILE
statement. (For the BHT-protocol, refer to the BHT User’s Manual.)
•
STX$
is called a protocol function.
• The initial value of a header (STX) is 02h.
■
Syntax 2
STX$
returns the current value of a header.
Run-time errors:
Reference:
Start of TeXt
I/O function
STX$
Modifies the value of a header (STX) for the BHT-protocol; also returns the
current value of a header.
Error code
Meaning
0Fh
String length out of the range
(
stringexpression
is more than a single byte.)
Statements:
OPEN
"COM:"
and
XFILE
Functions:
ETX$
and
SOH$
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...