Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
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
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690