> Which leads me to another point, It would be nice (and maybe Delphi
> does) have class variables reintroduced in subclasses ie
>
> TSingleton = class
>   public
>     class var Instance;
>  end;
>
> TSingletonA = class(TSingleton)
>
> )
>
> TSingletonB = class(TSingleton)
>
> )
>
> do a & B 'share' Instance?
>
> Neven
>

They do.  See 
http://hallvards.blogspot.com/2007/05/hack17-virtual-class-variables-part-i.html

Sean

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to