NAME OPEN Statement Alternate Syntax SYNOPSIS OPEN mode2$,[#]filenum%,file$[,reclen%] _ mode2$ A string expression that begins with one of the following characters and specifies the file mode: O Sequential output mode. I Sequential input mode. R Random-access file input/output mode. B Binary-file mode. A Sequential output mode. Sets the file pointer to the end of the file and the record number to the last record of the file. A PRINT # or WRITE # statement extends (appends to) the file. _ filenum% A number in the range 1 through 255 that identifies the file while it is open. _ file$ The name of the file (may include drive and path). _ reclen% For random-access files, the record length in bytes. For sequential files, the number of characters buffered. _ QBasic supports this syntax for compatibility with programs written in earlier versions of BASIC. SEE ALSO OPEN