[REBOL] bind / context / refinement headaches
From: koopmans:itr:ing:nl at: 25-Oct-2001 14:26
Please take a look at this:
a: use
[ myself ]
[myself:
func [ a /b /local c]
[
probe b
; c now contains the function signature of myself
c: first :myself
;make sure we can find our values (you'd say)
bind c 'b
;get the value of first c = a
probe get/any first c
;same for /b
;goes wrong?
probe get/any second c
]
]
What happens here? The last get/any goes wrong?
Says: b is not defined in this context
--Maarten