2009/6/1 Paul Ishenin :
>
> 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 i
In our previous episode, Paul Ishenin said:
> As I know you can deprecate any symbol and even unit.
http://bugs.freepascal.org/view.php?id=13373
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-de
In our previous episode, Dani?l Mantione said:
> > How do you mark a unit as deprecated?
> > In the user.pdf I have seen many references to units being deprecated
> > (eg: graph, oldlinux, etc), but I have only seen that being mentioned
> > in the documentation. There doesn't seem to be any compile
Graeme Geldenhuys wrote:
type
TMyClass = class(TObject)
end deprecated;
I tried, but get a compiler error. :-( It would be very handy though.
Especially in tiOPF (and probably FPC and LCL as well), we have old
classes that have since been renamed or refactored that they are not
needed anymo
Op Mon, 1 Jun 2009, schreef Graeme Geldenhuys:
How do you mark a unit as deprecated?
In the user.pdf I have seen many references to units being deprecated
(eg: graph, oldlinux, etc), but I have only seen that being mentioned
in the documentation. There doesn't seem to be any compiler reference
2009/6/1 Paul Ishenin :
>
> I am wondering why not to try?
>
> type
> TMyClass = class(TObject)
> end deprecated;
I tried, but get a compiler error. :-( It would be very handy though.
Especially in tiOPF (and probably FPC and LCL as well), we have old
classes that have since been renamed or re
Graeme Geldenhuys wrote:
I searched the ref.pdf document, especially under the class definition
section. It doesn't mention anywhere in that document that the Object
Pascal language supports the "deprecated" keyword.
PS:
Can you mark a whole class as deprecated? As far as I know the
deprecated
Hi,
I searched the ref.pdf document, especially under the class definition
section. It doesn't mention anywhere in that document that the Object
Pascal language supports the "deprecated" keyword.
PS:
Can you mark a whole class as deprecated? As far as I know the
deprecated keyword can only be us