QBasic 1.1: ACCESS Keyword
Explanation
OPEN Statement ACCESS Clause
Specifies the type of access users have to an opened file.
Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Syntax
ACCESS {READ | WRITE | READ WRITE} |
Description / Parameter(s)
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). |