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

[REBOL] Re: questions about VID and parse.

From: p0665393:magellan:umontreal:ca at: 10-Mar-2002 15:33

Bonjour Scott Jones, Thanks a lot for your fully functional example. This way i can progress!
>[...] > a: ["first" "second"] > layout-data: copy [] > foreach datum a [ > append layout-data [text] > append layout-data datum > ] > view layout layout-data
So basically, I have to create a block like [text "item1" text "item2" text "item3], right? It seems there is not way to write a function to avoid rebuilding a new list.
>[parsing] > I am unsure about the answer to the second question. I suspect that this > will require a "rule" but I am unsure how to word the rule (my parse skills > have grown a tad rusty during a resent REBOL programming abscence).
So... I will try to get some explanations about rules! Thanks Stephane