[fpc-pascal] Obtain file size?
pascaldragon at googlemail.com
Sun Oct 8 00:25:12 CEST 2017
Am 07.10.2017 21:08 schrieb "Paul Nance" <pwnance at gmail.com>:
> 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.
FileSize() has the disadvantage that you need to open the file. But what if
you don't have permissions for that? Permissions to retrieve the file size
when the file is closed are usually available on the other hand, but for
this another mechanism must be used.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal