[fpc-pascal] for..in loops?

Vincent Snijders vsnijders at quicknet.nl
Sun Nov 20 14:04:24 CET 2005


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;

Vincent.



More information about the fpc-pascal mailing list