[Newbies] Object clone
seasidebeginner at gmail.com
Tue Jan 15 17:29:53 UTC 2008
yeah a, b instance of same class and i want copy all instance variables
values to a i want do a := b but i dont want to a is same object as b. In
memory will be two objects a, b with same values .. but if i change a i dont
2008/1/15, Mathieu Suen <mathk.sue at gmail.com>:
> Hi Jakub
> I don't really understand your question.
> What is a and b? Are they instance of the same class?
> On Jan 14, 2008, at 10:42 PM, Jakub wrote:
> > hello,
> > i want do i want set var a as all instance vars of b. Something s
> > clone - coppy of one object. I look for clone command in SBE book
> > but i found nothing.
> > Thnx.
> > --
> > Jakub. _______________________________________________
> > Beginners mailing list
> > Beginners at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners