[REBOL] Re: Function Context Query
From: rotenca:telvia:it at: 4-Dec-2001 16:54
Hi Mark,
> surely it would be just as easy to test whether local words or refinements
are set, ie with the function Unset? as >opposed to none?.
Mine is only an idea, i'm not sure this is the true reason, but a none value
can be used directly in expression like:
if ref [...]
either ref [][]
An unset value would generate an error in these cases.
Unset? can't be used with an unset word (the evaluation of the word gives an
error), you must use:
value? lit-word
or
unset? get/any lit-word
As you can see it is not the first thing one could try :-)
---
Ciao
Romano