TRUNC Function (File)

Use this function to truncate an ASCII or binary file to the current position of the file pointer.


File.TRUNC

Parameters

File

Type: file

Use this variable to refer to the file.

Typically, you use this function with SEEK Function (File). Use File.SEEK to position the pointer in the file and then use File.TRUNC to truncate the file at that point.

Community Additions

ADD
Show: