Specifications

Chapter 14. Statement Reference
332
A communications device file should be opened before execution of the
XFILE
statement. (For the file opening, refer to the OPEN "COM:" statement.)
The
XFILE statement uses the interface specified by the OPEN "COM:" state-
ment.
A data file to be transmitted should be closed beforehand.
To transfer a file by using the BHT-Ir protocol or multilink protocol, set the BHT's
ID to any of 1 to FFFFh. Specifying zero (0) to the ID will result in a run-time error.
Undefined letters, if specified in
protocolspec, will be ignored. The specifica-
tions below, therefore, produce the same operation. The last one of the timeout
values goes active.
"RSPMT1"
"R,S,P,M,T,1"
"r,s,p,m,t,1"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ1"
"2"
"3462"
"22"
If you transmit a data file having the same name as that already used in the
receiving station:
- the newly transmitted file replaces the old one when the field structure is
matched.
- a run-time error occurs when the field structure is not matched.
To receive a data file having the same name at the BHT but having a different
structure, therefore, it is necessary to delete that old file.
Pressing the Clear key during file transmission aborts the execution of the
XFILE
statement by issuing an EOT code and displays a run-time error.
Syntax errors:
Error code and message Meaning
error 3: " missing
No double quote precedes or follows
[drivename:]filename.
error 71: Syntax error [drivename:]filename is not
enclosed in double quotes.