
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.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...