556
Manipulating data files and user program files
Statements
CLFILE
Erases the data stored in a data file.
CLOSE
Closes file(s).
FIELD
Allocates string variables as field variables.
GET
Reads a record from a data file.
KILL
Deletes a specified file from the memory.
OPEN
Opens a data file for I/O activities.
PUT
Writes a record from a field variable to a data file.
Functions
LOC
Returns the current position within a specified file.
LOF
Returns the length of a specified file.
SEARCH
Searches a specified data file for specified data,
and then returns the record number where the
search data is found.
Communicating with communications devices
Statements
CLOSE
Closes file(s).
INPUT #
Reads data from a device I/O file into specified
variables.
LINE INPUT #
Reads data from a device I/O file into a string vari-
able.
OPEN "COM:"
Opens a communications device file.
PRINT #
Outputs data to a communications device file.
XFILE
Transmits a designated file according to the speci-
fied communications protocol.
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...