Specifications
Chapter 15. Function Reference
380
Syntax:
Syntax 1 (Changing the value of a header):
SOH$=stringexpression
Syntax 2 (Returning the current value of a header):
SOH$
Parameter:
stringexpression
A string expression which returns a single-byte character.
Description:
■ Syntax 1
SOH$ modifies the value of a header (one of the text control characters) which indi-
cates the start of heading 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.)
• SOH$ is called a protocol function.
• The initial value of a header (SOH) is 01h.
■ Syntax 2
SOH$ returns the current value of a header.
Run-time errors:
Reference:
Start Of Heading I/O function
SOH$
Modifies the value of a header (SOH) 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 STX$