Skip to content

Data types

iaminfinityiq edited this page Feb 21, 2026 · 6 revisions

Data types

Tix supports multiple data types, including the basic ones:

  1. int: Represents an integer value with a range of -2^63 up until 2^63 - 1 (guaranteed at least 64 bits, may vary). This is the equivalence of C++'s long long data type.
  2. double: Represents a floating point value with the maximum of approximately 1.7976931348623157 * 10^308, and the smallest positive value is approximately 4.9 * 10^-324. This is the equivalence of C++'s double data type.
  3. string: Represents a string
  4. boolean: Represents a boolean, with 2 different value: true and false
  5. null_type: Represents a null value
  6. function: Represents a function (not implemented, base data type for built-in functions)
  7. builtin_func: Represents a built-in function in tix
  8. module: Represents a module in tix

Clone this wiki locally