AT&T 6300 Programmer's Manual page 112

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Disk File Handling
RANDOM ACCESS FILES
Creating and accessing random access files
requires more program steps than with sequen-
tial files, but there are advantages to using ran-
dom access files. One advantage is that random
access files require less room on the disk,
because GWBASIC stores them in a packed
binary format. (A sequential file is stored as a
series of ASCII characters.)
The biggest advantage to random access files is
that data can be accessed at random, i.e.,
anywhere on the disk. It is not necessary to
read through all the information on disk with
random access files, as with sequential files.
This is possible because the information is
stored and accessed in distinct units called
records and each record is numbered.
The statements and functions that are used
with random access files are:
4-28
CLOSE
CVD
CVI
CVS
FIELD
GET
LSET
LOC
LOF
MKD$
MKI$
MKS$
OPEN
PUT
RSET

Advertisement

Table of Contents
loading

Table of Contents