[sc-users] objekt copy

Andre Bartetzki andre at bartetzki.de
Thu Dec 14 13:42:32 PST 2006


Es war der 14.12.2006 13:30 Uhr, als olaf hochherz nicht widerstehen konnte,
folgende Gedanken dem Netz anzuvertrauen:

> i would like to have an objekt witch always has only one reverence.
> every reverenzing would produce a copy like;
> 
> a=MyObj.new
> b=a
> b==a
> -> false
> 
> how to do this?

What about a class that has only class methods and classvars but no *new  ?
like Library or Archive



Andre






--------------------------------------------------
Andre Bartetzki 
http://www.bartetzki.de
mailto:andre at bartetzki.de

Tel   +49-(0)30-92375877
VoIP  +49-(0)30-38108677
Fax   +49-(0)30-38108678
UMS   +49-(0)941-599214065 (Voice, Fax, SMS)
Skype bartetzki

--------------------------------------------------




More information about the sc-users mailing list