On 26/10/2014 11:45, Jürgen Hestermann wrote:
> 
> Am 2014-10-26 um 10:29 schrieb Reinier Olislagers:
>> On 26/10/2014 10:09, Jürgen Hestermann wrote:
>>> I think that "FileAge" should work for directory names too.
>> Why do you think that?
>> The docs say it doesn't:
>> http://www.freepascal.org/docs-html/rtl/sysutils/fileage.html
>>
> At least on Windows there is no difference
> to retrieve the date of a file or a directory:
Why are you quoting MSDN WinAPI help instead of FreePascal keyword help?

The FPC docs clearly state the return value is -1 in case of
directories. Have you tested it?


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to