To contents Next section

17.2.1 Basic data types

First, we must come to know the basic data types pike uses.
INT8, INT16, INT32, INT64
These are defines which are at least as many bits as the number suggests. If there is an integer which is 32 bits on a certain platform, INT32 is guaranteed to be 32 bits.
INT_TYPE
This is the type Pike uses for integers. Usually 32 bits.
FLOAT_TYPE
This is the type Pike uses for floats. Usually defined as 'float'.
TYPE_FIELD
This is a bit field which can be any combination of the flags: BIT_INT, BIT_FLOAT, BIT_STRING, BIT_ARRAY, BIT_MAPPING, BIT_MULTISET, BIT_OBJECT, BIT_PROGRAM, BIT_FUNCTION. Please note that BIT_INT is defined as 1<<T_INT, BIT_MAPPING defined as 1<<T_MAPPING etc. Also, there are some special values defined for your convenience:

To contents Next section