865.1.3 BSD (BASIC Sequential Access, Data File) Control StatementsNote: For file descriptors FD and CMTWOPEN # WOPEN #3 "FD2:S Opens the file for write-in so that one BASIC sequentialPRINT #CLOSE #KILL #ROPEN #INPUT #EO DATA 1" access file (BSD) can be made. In other words, it definesthe filename of the BSD being made as "SEQ DATAl",and opens, as logical number 3, a file in floppy disk drivenumber 2.PRINT #3. A. AS Writes in, in order, the content of variable A and stringvariable AS on BSD; a file opened in logical number 3 bythe WOPEN # statement.File close is executed by the CLOSE # statement, andBSD is formally registered as one BSD.CLOSE #3 Closes the BSD, the file opened in logical number 3 by(Corresponding to the WOPEN # statement.WOPEN#)KILL #3By closing the file, one BSD with the file name specifiedby the WOPEN # statement is made on the specifiedfloppy disk, and the logical number (3 in this instance)becomes undefined once more.Kills the BSD, the file opened in logical number 3 by theWOPEN # statement. In other words, it cancels or erasesthe BSD, and the logical number (3 in this instance)becomes undefined once more.ROPEN #4. n FD2: SE Opens the file for read-out of the data in the BASICo DATA2· sequential access data file (BSD). In other words, itopens, as logical number 4, the BSD file "SEQ DATA2"in volume number 7 of the floppy disk in floppy disk drivenumber 2.INPUT #4. A(1). BS Reads out sequential data from the BSD, a file opened inlogical number 4 by the ROPEN # statement, andsubstitutes numerical data in array variable A( 1) andstring in string variable B$.Read-in data are sequentia,lIy accessed from the BSDheading data.