Hi,
how about:
block: ["a" "b" "c"]
code: [print member]
foreach member block [do bind code 'member]
The results:
a
b
c
Regards
Ladislav
> I am confused. Consider this small script:
>
> REBOL []
>
> block: ["a" "b" "c"]
> code: [print member]
> foreach member block [do code]
>
> Upon execution, I get :
>
> ** Script Error: member has no value.
> ** Where: print member
> >>
>
> I guess I have to use 'bind or 'use somewhere, but I'm not sure
which
> and how.
>
> Thanks for your help
> --
> Fantam
>
>
>