Specifications

357
Syntax:
Syntax 1 (Changing the value of a terminator):
ETX$=stringexpression
Syntax 2 (Returning the current value of a terminator):
ETX$
Parameter:
stringexpression
A string expression which returns a single-byte character.
Description:
Syntax 1
ETX$ modifies the value of a terminator (one of the text control characters) which
indicates the end of a data text in the BHT-protocol when the data file is transmitted
by an
XFILE statement. (For the BHT-protocol, refer to the BHT Users Manual.)
ETX$ is called a protocol function.
The initial value of a terminator (ETX) is 03h.
Syntax 2
ETX$ returns the current value of a terminator.
Run-time errors:
Reference:
End of TeXt I/O function
ETX$
Modifies the value of a terminator (ETX) for the BHT-protocol; also returns the
current value of a terminator.
Error code Meaning
05h
Parameter out of the range
(
stringexpression is a null string.)
0Fh
String length out of the range
(
stringexpression is more than a single byte.)
Statements:
OPEN "COM:" and XFILE
Functions:
SOH$ and STX$