TruncateFile()

语法

TruncateFile(#File)
概要
Cuts the file at the current file position and discards all data that follows.

参数

#File The file to use.

返回值

无.

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.

参阅

FileSeek(), Loc()

已支持操作系统

所有

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