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

[REBOL] Create words dynamically

From: tmoeller:fastmail:fm at: 5-Mar-2006 19:30

Hi, it seemed i have lost some knowledge over the time. How can i create words dynamically from the content of a block and use these words for filling them up with new content like this: words: [ "phhtmcl" "phhocml" ] content: [ "phhtmcl/111" "phhocml/222" "phhtmcl/333" "phhocml/444"] i now want to create two words like phhtmcl: [] and phhocml: [] with an foreachloop over the words-series. These words should be filled with with an other foreach loop on the content-block, where the first part is the indicator in which word the content should stored an the second one ist the content itself. how can i use these created words in the following scriptparts? i played around a bit with to-set-word etc on the console but failed to get it right. has anybody done this before or has good tutorial for this. Thorsten -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow