Closing a text file.
The operator close_file closes a file which was opened via the operator open_file.
|
FileHandle (input_control) |
file -> integer |
| File handle. | |
open_file('/tmp/data.txt','input',FileHandle)
// ....
close_file(FileHandle).If the file handle is correct close_file returns the value 2 (H_MSG_TRUE). Otherwise an exception handling is raised.
close_file is local and processed completely exclusively without parallelization.
Foundation