[REBOL] Re: Context - code included- 2nd version
From: rotenca:telvia:it at: 16-Sep-2001 20:30
> Hi, Ladislav, Romano, et al,
Hi, Joe, Ladislav et al,
> Might I suggest that this is not very different from
> >> foo: load "42" == 42
> >> type? foo == integer!
> >> foo: to-decimal "42" == 42
> >> type? foo == decimal!
> >> foo: to-word "42" == 42
> >> type? foo == word!
Strange but understable. Core Guide don't say that "42" is an invalid word.
What i don't understand is this: Core guide says:
Words are not case sensitive and can include hyphens and a few other special
characters such as +, -, ', *, !, ~, &, ., and ?.
The following characters are not allowed in words:
This is false:
>> bind to word! "#" 'system
>> #: 3
Here it is a Global word. But then when you try to get the value of # Rebol
says: what dou you want? that is an issue!
But what check the interpreter? The datatype of a value or its molded value?
It is not clear.
The end of a word is indicated by a space, a line break, or one of the
This is false also. Surely for ":" i did not check others.
This strange behaviour is only of word! ?
I try to datatype! to block! but here controls seem to me more strict.