Name

Truncate Procedure

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset