CLOSE Procedure
Closes the specified
file units.
Usage
CLOSE [,
unit
1
, ... ,
unit
n
]
Input Parameters
unit
i
(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, 'test'
PRINTF, 1, 'Example Text'
CLOSE, 1
See Also
FREE_LUN
,
GET_LUN
,
OPEN (UNIX/OpenVMS)
,
OPEN (Windows)
,
READ
,
WRITEU
doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.