Herror ::close_file (
    const HTuple &FileHandle
)

Closing a text file.

The operator ::close_file closes a file which was opened via the operator ::open_file.


Parameters

FileHandle (input_control)
file -> HTuple.long
File handle.


Example
open_file("/tmp/data.txt","input",&FileHandle) ; 
/* ... */
close_file(FileHandle) ;

Result

If the file handle is correct ::close_file returns the value H_MSG_TRUE. Otherwise an exception handling is raised.


Possible Predecessors

::open_file


See also

::open_file


Module

Basic operators



Copyright © 1996-2002 MVTec Software GmbH