
Chapter 15. Function Reference
343
____________________________________________________________________
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.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
Syntax 1 (Changing the value of a header):
STX$=stringexpression
Syntax 2 (Returning the current value of a header):
STX$
Parameter:
Parameter:Parameter:
Parameter:
stringexpression
A string expression which returns a single-byte character.
Description:
Description:Description:
Description:
Syntax 1
STX$ modifies the value of a header (one of the text control characters) which indicates
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
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
0Fh
String length out of the range
(stringexpression is more than a single byte.)
Reference:
Reference:Reference:
Reference:
Statements: OPEN "COM:" and XFILE
Functions: ETX$ and SOH$
Comentarios a estos manuales