@TRUNCATE[handle] : Truncate the file opened for write access by @FILEOPEN at the current position of the file pointer, where handle is the value returned by @FILEOPEN.

 

See also the related handle-based functions:

 

@FILECLOSEClose a file handle
@FILEOPENOpen a file handle
@FILEREADRead next line from a file handle
@FILESEEKMove a file handle pointer
@FILESEEKLMove a file handle pointer to a specified line
@FILEWRITEWrite next line to a file handle
@FILEWRITEBWrite data to a file handle