Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

fileAge deprecated?

3 views
Skip to first unread message

Roddy Pratt

unread,
Dec 15, 2005, 5:41:42 PM12/15/05
to
I get a compiler warning about "fileAge" being deprecated, when building a
library for W32 Delphi with BDS2006.

Anyone know why? or what I should use instead...?

- Roddy


Mike Williams (TeamB)

unread,
Dec 15, 2005, 5:44:27 PM12/15/05
to
Roddy Pratt wrote:

Only the single-parameter version is marked as deprecated.

You can use

if FileAge('somefile', TheDate) then ...

--
-Mike (TeamB)

Roddy

unread,
Dec 16, 2005, 3:35:45 AM12/16/05
to
"Mike Williams (TeamB)" <mlwi!!iams@gmail!.com> wrote in message
news:43a1ffdb$1...@newsgroups.borland.com...

> Only the single-parameter version is marked as deprecated.
>
> You can use
>
> if FileAge('somefile', TheDate) then ...
>

Thanks Mike,

I also found this explained well in the RTL source. The online help was the
usual cheese-shop....

- Roddy


Mike Williams (TeamB)

unread,
Dec 16, 2005, 8:37:48 AM12/16/05
to
Roddy wrote:

> I also found this explained well in the RTL source. The online help
> was the usual cheese-shop....

I rarely look at the help if the source is available ...

--
-Mike (TeamB)

0 new messages