Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [REBOL]Panel Problems - clarification

From: petr::krenzelok::trz::cz at: 27-Jun-2001 14:44

Anton wrote:
> Of course, Brett, you show a much simpler way! > > > panel2: layout [info "panel2" > > mybox: box silver edge [] box gray box maroon] > > > > The extra "edge []" will force a new object! to be created for > > the specific > > box rather than sharing the object that Anton has described. > > But, to be clear, I am not suggesting to share an object. > My code demonstrates both behaviours; shared and > with edge cloned each time. > > Incidentally, it is interesting to > put an edge on a box and then go into desktop. :)
Yes, still the same song. :-) A little bit confusing :-) I vote for native make/deep, which would produce unshared sub-objects, or something like that. You have to be carefull and better use 'copy sometimes :-) -pekr-