- 4.62.2.91 -
Standard Units
System Unit
System Unit Procedures and FunctionsTruncate procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Truncates the file at the current file position.
Declaration:
procedure Truncate(var F);
Remarks:
F is any type file except text.
Truncate deletes all data passed the current file pointer
of F. An end of file marker is inserted at the current
file pointer. With {$I-} IOResult
returns an error code if the operation failed.
Otherwise IOResult
is set to zero.
See also:
{$I} - I/O Checking Switch
|
|
|
Trunc64 function |
Table of Content |
UpCase function |
- 4.62.2.91 -