
Chapter 8. Files
111
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.
File Type File Name Remarks
Data File
Device I/O File
Device I/O File
filename.extension
drivename:filename.extension
BAR:
COM:
Bar code device
Communications device
TIP
Data files and user program files are stored in the user area of the memory.
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.
Comentarios a estos manuales