Types#

Primitive Types#

name

description

int
float

Numeric types. Despite their names, these are neither integers nor floating-point numbers, but instead fixed-point numbers ranging -214748.3648 to 214748.3647.

long

Long integer type. Values range from -2147483648L to 2147483647L. Special bitwise behavior.

auto

Type will be automatically determined by the parser. Cannot be used in a ‘group declaration’, ex. <error>auto x = 5, y = 2;</error>

void

Lack of a type; used to indicate a function returns nothing.

untyped

General type; almost all types implicity cast to untyped.

bool

Boolean type; available values true, false.

char32

Character type. Same boundaries as int, mainly exists for typecasting. Used by char/string literals.

rgb

Color type, used to represent color values. See: CreateRGB

‘Constant’ types#

By adding the const modifier to a type, that type becomes “constant”. Declaring a Variable with a constant type instead declares a Constant.

Full section on constants.

Other Types#

For documentation on existing other types, see the internal class / constant documentation.

Custom Types#