Specifications
126
8.1 File Overview
8.1.1 Data Files and Device I/O Files
BHT-BASIC treats not only data files but also bar code device I/Os and communications device
I/Os as files, by assigning the specified names to them.
8.1.2 Access Methods
To access data files or device I/O files, first use the OPEN statement to open those files. Input
or output data to/from the opened files by issuing statements or functions to them according to
their file numbers. Then, close those files by using the
CLOSE statement.
File Type File Name Remarks
Data File
filename.extension
drivename:filename.extension
Device I/O File
BAR:
Bar code device
Device I/O File
COM:
Communications device
TIP
Data files and user program files are stored in the user area of the memory.