FileSize
Returns the size of a file in bytes or the number of records in a record file.
Structure
FileSize(var F): Integer;
Parameters
Return Value
Description
Call FileSize to determine the size of the file specified by the file variable F. To use FileSize, the file must be open. If the file is empty, FileSize(F) returns 0.
Note
FileSize can't be used on a text file. |