Hi Fantam:
>   I am confused. Consider this small script:
>
>REBOL []
>
>block: ["a" "b" "c"]
>code: [print member]
>foreach member block [do code]
but this works:

block: ["a" "b" "c"]
mcode: func [member][print member]
m: "x"
foreach member block [m: member mcode m]


I believe that rebol enforces 'member as having a special
scope.

Your question is worthy of more discussion: perhaps some
of the more experienced members would like to chime in on
this...
-Tim

>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


Reply via email to