Action |
Closes a file previously opened by the OPEN function.
Syntax |
CLOSE (file handle)
Parameter |
File handle
A numeric expression indicating the file handle of the file to close. Possible values range from 1 to 10.
Returns |
-2 |
Invalid file handle specified |
0 |
File closed |
Example |
IF Close(3)
Beep
? "Error closing file!"
ENDIF