[fpc-devel] Ref documentation doesn't mention "deprecated" keyword
Graeme Geldenhuys
graemeg.lists at gmail.com
Mon Jun 1 11:28:19 CEST 2009
2009/6/1 Paul Ishenin <ip at kmiac.ru>:
>
> Have you tried as I wrote?
My mistake, I typed...
type
TMyClass = class(TObject)
end; deprecated;
instead of...
type
TMyClass = class(TObject)
end deprecated;
I used deprecated like you do for methods... after the last semi-colon.
> Seems for unit this is not availble if fpc. Delphi allow use of deprecated
> and platform marks for units too.
That would be nice for FPC as well... ;-) The code I'm working on
(tiOPF) is shared between Delphi and FPC compilers, so if deprecated
is supported on both, that would be ideal (though not the end of the
world if it's not).
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list