I'm pretty new to REBOL (and loving it so far), but couldn't you just coerce
the strings to words using TO-WORD?
foreach symbol in words [
w: to-word symbol
; do something with w
]
Or perhaps I'm missing something?
Jeff M.
On 3/5/06, Thorsten Moeller <[EMAIL PROTECTED]> wrote:
>
>
>
> 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
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>
--
[EMAIL PROTECTED]
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.