◄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: OPEN filename$ FOR OUTPUT ACCESS READ AS filenum# ■ WRITE Opens a file for writing only: OPEN filename$ FOR OUTPUT ACCESS WRITE AS filenum# ■ READ WRITE Opens a file for both reading and writing; valid only for random-access and binary-mode files, and files opened for APPEND (sequential access): OPEN filename$ FOR APPEND ACCESS READ WRITE AS filenum# See Also ◄AS Clause (Different Uses)► ◄OPEN Statement (File I/O)►