
Chapter 14. Statement Reference
274
• In the BHT-7000/BHT-7500, if the
drivename is B:, the file specified by
filename will be opened as a read-only file. If the drivename is A: or omit-
ted, the file will be opened as a read/write file.
• filelength is the maximum number of registrable records in a file. It can be
set only when a new data file is created by an
OPEN statement. If you specify
filelength when opening any of existing data files (including downloaded
data files), the
filelength will be ignored.
• Specifying
filelength does not allocate memory. Therefore, whether or not a
PUT statement can write records up to the specified filelength depends on
the memory occupation state.
• If
filelength is omitted, the default file size is 1000 records.
Syntax errors:
Run-time errors:
Reference:
Error code and message Meaning
error 3: ’"’ missing
No double quote precedes or follows
"[drivename:]filename".
error 71: Syntax error • filelength is out of the range.
•
filelength is not an integer con-
stant.
•
"[drivename:]filename" is
not enclosed in double quotes.
Error code Meaning
02h
Syntax error
(
"[drivename:]filename" is not correct. Or the bar
code device file or communications device file is specified.)
07h
Insufficient memory space
32h
File type mismatch
37h
File already open
3Ah
File number out of the range
41h
File damaged
Statements:
CLOSE, OPEN "BAR:", and OPEN "COM:"
Komentarze do niniejszej Instrukcji