[DUG] basic question

Chee Wee Chua CheeWee.Chua at codegear.com
Wed Jul 25 17:07:57 NZST 2007


Hmm,

No class vars?

  TShowOff = class
  public
    class var Count: Integer; // Hmm, I wonder what they call this.
    class procedure Static1;
    class procedure Static2; static;
  end;


Best Regards, 

Chua, Chee Wee 
CCNA, MCSE, SCJP, SCSA,
CodeGear(tm), from Borland
Where developers matter
www.codegear.com
 

> -----Original Message-----
> From: delphi-bounces at delphi.org.nz 
> [mailto:delphi-bounces at delphi.org.nz] On Behalf Of Neven MacEwan
> Sent: 25 July 2007 12:57
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] basic question
> 
> Ani
> 
> What you are referring to is a "Class Method" and no Delphi 
> does not have them (though other OO languages do) it also 
> does not have class variables (hence there is not need for 
> Class Methods is the logic I presume)



More information about the Delphi mailing list