[fpc-devel] Determin file size - how?

Marco van de Voort marcov at stack.nl
Thu Dec 15 14:48:32 CET 2011


In our previous episode, michael.vancanneyt at wisa.be said:
> >>> nasty to open an file, when I only want to know its size. FPC (like 
> >>> Delphi) lacks some basic file/directory handling functions (Size, Remove, 
> >>> Rename...), at
> >> 
> >> I think you didn't look very well in the docs.
> >> 
> >> DeleteFile
> >> RenameFile

Search for rename and file in the chm help:

http://www.stack.nl/~marcov/helpscrdump.png

How hard can it be indeed.




More information about the fpc-devel mailing list