
Chapter 15. Function Reference
341
____________________________________________________________________
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.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
Syntax 1 (Changing the value of a header):
SOH$=stringexpression
Syntax 2 (Returning the current value of a header):
SOH$
Parameter:
Parameter:Parameter:
Parameter:
stringexpression
A string expression which returns a single-byte character.
Description:
Description:Description:
Description:
Syntax 1
SOH$ modifies the value of a header (one of the text control characters) which indicates
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
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 STX$
Comentarios a estos manuales