[fpc-pascal] Obtain file size?
Paul Nance
pwnance at gmail.com
Sat Oct 7 21:08:04 CEST 2017
I've always (since Turbo Pascal and now with Free Pascal) used FILESIZE. It
works like a charm.
Even if you do it in assembly its done the same as its done in pascal.
On Oct 6, 2017 7:14 PM, "James Richters" <james at productionautomation.net>
wrote:
I am wondering how to get the file size reported by the OS for a particular
file without opening it. I tried to search for ‘Free Pascal File Size’
and variations but all I get are things like this:
https://www.freepascal.org/docs-html/rtl/system/filesize.html
which is not what I’m looking for.
I’ve been looking through the sysutils reference here:
https://www.freepascal.org/docs-html/rtl/sysutils/index-5.html
and I see disk size, but not file size…
Could someone please point me in the right direction?
James
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171007/0ec271cf/attachment.html>
More information about the fpc-pascal
mailing list