Syntax
procedure Truncate(var F: file);
procedure Truncate(var F: TextFile);
Description
Truncate
truncates a file so its current position
becomes the end of the file. Truncate
is not a
real
procedure.
If the file is not open, Truncate
reports I/O
error 103.
See Also
Eof Function, File Keyword, FilePos Function, FileSize Function, IOResult Function, Seek Procedure, SeekEof Function, TextFile Type |