[ALLY] Re: Datatype numbering and the Missing Datatypes
From: g:santilli:tiscalinet:it at: 21-Sep-2000 20:47
Hello [allenk--powerup--com--au]!
On 21-Set-00, you wrote:
a> This made me curious so I listed out all of datatypes and
a> found 51 of them, the missing numbers
a> are 4 and 21. Anyone know what they are?
I think Jeff once mentioned an END! datatype used internally, and
it seems to show in system/words, together with CONTEXT!:
>> first system/words
== [end! unset! error! datatype! context! native! action! routine! op! function! object!
struct! library! port! any-type! any-word!...
Did you count these two?
Anyway, the "datatype query action" is the action #0, and probably
it just compares the datatype id of the value with that in the
action definition.
>> second :unset?
== 0
>> second :action?
== 0
>> second :datatype?
== 0
a> I also found a symbol! datatype but it has no corresponding
a> word symbol? Can anyone shed any light on that one?
I asked a lot of time ago, but didn't get any answer. I'm still
curious... :-)
Understanding more and more about REBOL internals,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/