CLOSE statement
Purpose: The CLOSE statement causes the file stream associated with a file handle to be flushed and the file to be closed.
Syntax 1:
CLOSE FileHandle
Parameters:
|
Syntax 2:
CLOSE
Parameters:
|
Remarks
Specifying more than one file handle is not allowed.
See the OPEN statement page for more details.
Example:
CLOSE FP1
BCX Console Sample Programs using CLOSE statement.