CLOSE Procedure
Closes the specified file units.
Usage
CLOSE[, unit1, ... , unitn]
Input Parameters
uniti—(optional) The file units to close.
Keywords
All—If present and nonzero, closes all file units and frees any file units that were allocated via GET_LUN.
Files—If present and nonzero, closes all file units between 1 and 99. File units greater than 99, which are associated with the GET_LUN and FREE_LUN procedures, are not affected.
Discussion
All open files are closed and deallocated when you exit PV-WAVE.
Example
OPENW, 1, 'close_ex1.out' 
PRINTF, 1, 'Example Text' 
CLOSE, 1 
See Also