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
----- Original Message -----
From: "Geza Lakner MD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 26, 2002 11:05 AM
Subject: [REBOL] Strange crash upon SECOND SYSTEM/WORDS
> Hello REBOLers,
>
> REBOL/View 1.2.1.3.1 21-Jun-2001 crashes upon executing
>
> a: copy second system/words
> as well as
> a: second system/words
>
> ... although SOURCE WHAT shows that the system itself executes such
> a command:
> .... (snip)
> total: copy []
> vals: second system/words
> foreach word first system/words [
> .... (snip)
>
> How else could I extract the 'type? information of all words ?
>
> --
> Best regards,
> Geza Lakner MD mailto:[EMAIL PROTECTED]
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.