The TEA language currently supports the following types:
The void type represents no data. It is typically used to show explicitly that there is no return value from a routine or no parameters for a routine.
The char type represents a signed byte. It has a range of -128 to 127.
The unsigned char type represents an unsigned byte. It has a range of 0 to 255.
The int type represents a signed integer comprised of 2 bytes. It has a range of -32768 to 32767.
The unsigned int type represents an unsigned integer comprised of 2 bytes. It has a range of 0 to 65535.
The string type is a fixed series of ASCII-encoded text characters.
|Warning||The string type is fairly limited and quite expensive in terms of storage in both the program code space as well as stack space. Care should be taken when using this type.|