Specifications

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 Users 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$