basic.%close.apdos
Closes an MS-DOS file.
Syntax
rc = %close(file.handle)
Description
closes an MS-DOS file specified by the 'file.handle' returned by a previous call to '%open()'.
For more information, refer to the MS-C library reference manual under CLOSE(). All MS-DOS files must be explicitly closed, since files are not automatically closed at program termination. Closing one of the system files (stdin, stdout, etc.) has unpredictable results.
Should an error condition arise within this C function, the 'system(0)' function contains the associated error message number.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
