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

[REBOL] Re: Viewing two or more copies of the same layout

From: greggirwin:mindspring at: 10-Feb-2004 8:11

Hi Robbie, To explain Gabriele's suggestion a bit... The idea is that you store the layout spec block in your object, so it's just a block of data, not a face yet. The call to LAYOUT, which creates the face, is deferred until you need to view it. It might be a bit much if you're new to REBOL, but you could also look at the source for the librarian (the REBOL version, not the web front end) from It has a number of views you can switch between, so it uses tricks like this. One of the big things to remember about REBOL is that everything is just data until it is evaluated. Happy REBOLing! -- Gregg