Re: Singleton



Chris Morgan wrote:

what about class methods?
TEarth = class
class procedure Rotate(const Data: TEarthData);
class function GetPopulation: Integer;
end;

then it is not necessary to create Earth (I'm sure there some
pun in here about evolution vs creation...)

Yes, but let's not go there. <g>

--
Rudy Velthuis [TeamB] http://www.teamb.com

"Obstacles are those frightful things you see when you take your
eyes off your goal." -- Henry Ford (1863-1947)
.