TruncateFile()
Syntax
TruncateFile(#File)Description
Cuts the file at the current file position and discards all data that follows.
Parameters
#File The file to use.
Return value
None.
Remarks
This function may be used to shorten a file without the necessity of recreating it entirely. To make a file longer, simply append more data with the write commands of this library.
See Also
FileSeek(), Loc()
Supported OS
All