---
title: Data types
nav_order: 2
permalink: /data-types/
---

# Data types
{: .no_toc}

Data types mentioned in this document

* `array` - array ID to be used with array-related functions (actually an integer)
* `any` - any type
* `bool` - boolean (in fact, `int`: `True` is 1 and `False` is 0)
* `int` - integer number
* `mixed` - type depends on exact use case
* `float` - floating point number
* `ObjectPtr` - pointer to a game object (actually an integer)
* `proc` - procedure name (used in [register_hook_proc]({{ site.baseurl }}/hook-functions/#register_hook_proc))
* `string` - string (text) value
* `void` - means opcode does not return any value
