[REBOL] Re: Strange crash upon SECOND SYSTEM/WORDS
From: larry:ecotope at: 26-Jan-2002 14:03
Hi Geza.
I have noticed this also. There seems to be no problem when the assignment
of a name to second system/words is made to a local variable inside a
function as is the case with WHAT. I don't know why this makes a difference,
however I have noticed a few other cases of things working inside functions
but not globally.
> How else could I extract the 'type? information of all words ?
You could do it this way:
foreach word first system/words [
print [form word type? get/any in system/words word]
]
which gives the following:
end! unset
unset! datatype
error! datatype
datatype! datatype
context! unset
native! datatype
action! datatype
routine! datatype
... etc
HTH
_Larry