Topic complex |
Text functions |
Function |
close() |
Short |
Closes a text file |
Syntax |
CLOSE(texthandle : INTEGER) : INTEGER |
Parameter |
texthandle : text handle from RESET, REWRITE or TAPPEND |
Return |
error code
0 = successfully closed |
See also: |
|
Description |
External text files are buffered by the tdbengine and mostly by the operating system.
Only the CLOSE makes sure that the file is transmitted and the reservated system resources are freed again.
After CLOSE no access to the text handle is allowed.
Also ramtexts should be closed after use.
|