GOOC - Game Oriented Object C

GOOC - Game Oriented Object C

Next: Operators, Previous: Keywords, Up: Lexer Tokens
[Contents]

5.3. Constants

5.3. Constants

A constant is a literal numeric value, and of a particular data type. A constant is always transformed into a 32-bit integer upon tokenization, regardless of its original data type. Each data type is converted differently, and knowing the specifics of every data type will allow you to make full use of the engine's capabilities.

There are ten distinct data/constant types recognized by gooc: