qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
OPEN Statement ACCESS Clause
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Specifies the type of access users have to an opened file.
 
ACCESS {READ | WRITE | READ WRITE}
 
    ■ READ          Opens a file for reading only.
    ■ WRITE         Opens a file for writing only.
    ■ READ WRITE    Opens a file for both reading and writing. READ WRITE
                    mode is valid only for random-access and binary-mode
                    files, and files opened for APPEND (sequential access).
 
See Also    OPEN