TruncateFile()

Syntax

TruncateFile(#File)
Description
Cuts the file at the current file position and discards all data that follows. 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.

Supported OS

All

<- ReadWord() - File Index - WriteAsciiCharacter() ->