Table of contents Previous: McBASI Interpreter Commands and Reserved Words Next: McBASI Interpreter Commands GOSUB

CLOSE

Frees the I/O table entry for the specified unit (text file).


Syntax

CLOSE unit


Parameter

unit

any valid numeric expression associated with a text file by a previous OPEN command


Remarks

A maximum of 10 files are active at once.


Example

CLOSE 10

For this example, 10 is the unit number associated with a text file by a prior OPEN command.


Table of contents Previous: McBASI Interpreter Commands and Reserved Words Next: McBASI Interpreter Commands GOSUB