WHOLE! is the datatype that represents signed whole numbers
DATATYPE
value: TO WHOLE! 100
A numerical value or a valid numerical string.
Not applicable on category
Besides WHOLE!, Meta knows several other types of WHOLE. There is also WHOLE16!, WHOLE32! and WHOLE64!. These reserve the space needed for the values that will be used. This way Meta can optimize its code depending on the needs of the program.
If values are declared as in
whole-value: 100
byte-constant= 100
These methods of assigning are the so-called SET-WORD! and LET-WORD! With SET the value will be assigned a WHOLE! value while with LET-WORD! the smallest datatype available will be used. In this case byte-constant will become a BYTE!, because 100 fits that type.
BYTE!
BINARY!
FLOATER!
NATURAL!
NUMBER!
TO
WHOLE!
WHOLE8!
WHOLE16!
WHOLE32!
WHOLE64!