[REBOL] Re: Function Context Query
From: rotenca:telvia:it at: 3-Dec-2001 17:30
Hi, Mark
> Surely this is incorrect?
>
> >> a: has [b c] [ print b print c]
> >> a
> none
> none
> >> a/local 3 4
> 3
> 4
Amazing! At least for me!
This demostrates that /local is a refinement like any other, only for
convention it is used for defining local. One can use another one. The only
difference is that at least Help is aware of the convention about local and
does not put /local about user refinements.
There is no difference between:
a1: has [b c] [ print b print c]
a2: func [/k b c] [ print b print c]
a1
a2
a1/local 2 3
a2/k 2 3
---
Ciao
Romano