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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to