[fpc-pascal] for..in loops?
Peter Vreman
peter at freepascal.org
Tue Nov 22 18:17:57 CET 2005
At 14:04 20-11-2005, you wrote:
>Florian Klaempfl wrote:
>>Lukas Gebauer wrote:
>>>enhancements in Delphi-2006... (like operator overloads or class
>>>variables...)
>>
>>... which has fpc for years :)
>
>I didn't know that. How do I declare a class variable in fpc?
>
>like this?
>type
> MyClass = class(TComponent)
> private
> class FClassVar: integer;
> FFieldVar: integer;
> end;
FClassVar:integer;static;
And compile with -St
Peter
More information about the fpc-pascal
mailing list