Random Access Vs. Sequential Access
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Random Access Vs. Sequential Access
■ "Random access" is a type of file access used for files whose data is
organized into discrete records of fixed length. Records can be accessed
in any order.
See: ◄GET Statement (File I/O)► ◄LEN Function► ◄OPEN Statement►
◄PUT Statement (File I/O)► ◄TYPE Statement►
■ "Sequential access" is a type of file access used for text files and
variable-length record files. The records must be accessed in a
particular order. Numbers in a sequential-access file are represented
by character strings, just as words are.
See: ◄CLOSE Statement► ◄INPUT$ Function► ◄INPUT # Statement►
◄LINE Statement► ◄OPEN Statement► ◄PRINT # Statement►