NAME OPEN Statement File Modes DESCRIPTION The APPEND, BINARY, INPUT, OUTPUT, and RANDOM keywords are used in the OPEN statement to specify file modes. INPUT, OUTPUT, and RANDOM are also used in the OPEN COM statement. o APPEND specifies that the file is to be opened for sequential output and sets the file pointer to the end of the file. A PRINT # or WRITE # statement then extends (appends to) the file. o BINARY specifies a binary-file mode. In binary mode, you can read or write information to any byte position in the file using GET or PUT statements. o INPUT specifies that the file is opened for sequential input. o OUTPUT specifies that the file is opened for sequential output. o RANDOM specifies that the file is opened in random-access file mode. RANDOM is the default file mode. SEE ALSO OPEN OPEN COM PRINT LPRINT WRITE