[fpc-pascal] System.FileSize documentation

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Wed Nov 6 10:35:38 CET 2013


"Filesize returns the total number of records in file F. It cannot be 
invoked with a file of type Text. (under linux and unix, this also means 
that it cannot be invoked on pipes). If F is empty, 0 is returned."

It also returns zero if the file is untyped, i.e. hasn't been declared 
with "of byte" etc.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list