Re: Singleton
- From: "Rudy Velthuis [TeamB]" <newsgroups@xxxxxxxxxxxx>
- Date: Mon, 21 Jan 2008 19:09:32 +0100
Jens Mühlenhoff wrote:
Chris Morgan wrote:
what about class methods?
We had that somewhere (in one of the subthreads) already. Class
methods lack a way of initializing the class data
Well, in .NET, you can do:
type
TTest = class
class var I: Integer;
class constructor ClassCreate;
end;
ClassCreate will be called before the class (or I) is accessed the
first time.
--
Rudy Velthuis [TeamB] http://www.teamb.com
"It is a miracle that curiosity survives formal education."
-- Albert Einstein
.
- References:
- Singleton
- From: Alan T
- Re: Singleton
- From: Chris Rolliston
- Re: Singleton
- From: Chris Morgan
- Re: Singleton
- From: Craig Stuntz [TeamB]
- Re: Singleton
- From: Chris Rolliston
- Re: Singleton
- From: Jens Mühlenhoff
- Re: Singleton
- From: Chris Rolliston
- Re: Singleton
- From: Jens Mühlenhoff
- Re: Singleton
- From: Chris Rolliston
- Re: Singleton
- From: Jens Mühlenhoff
- Re: Singleton
- From: Jens Mühlenhoff
- Re: Singleton
- From: Chris Morgan
- Re: Singleton
- From: Jens Mühlenhoff
- Re: Singleton
- From: Chris Morgan
- Re: Singleton
- From: Jens Mühlenhoff
- Singleton
- Prev by Date: Re: How to handle large number of users
- Next by Date: Re: Garbage Collection
- Previous by thread: Re: Singleton
- Next by thread: Re: Singleton
- Index(es):