[REBOL] Re: Is Rebol dynamic?
From: lmecir:mbox:vol:cz at: 30-Nov-2002 12:11
Hi Romano,
----- Original Message -----
From: "Romano Paolo Tenca"
> > block3: [a: (block3/1: first [/a] 1)]
> > do block3
>
> I think that the failure is the set bug with unbound word.
You are right in this case. But I think, that more examples proving, that
this behaviour is unsafe, can be found.
> Playing with fire:
>
> How to set a get-word preserving binding?
>
> >> c: 2 do block3: [a: (block3/1: first [c] 1)] c
> == 1
If we just want to set a get-word, we can:
set first [:c] 11
-L