Built-in objects are object types provided by Expr or the host application.
This chapter is the entry point for detailed built-in object reference pages.
| Object | Name | Description |
|---|---|---|
| Global objects | `settings`, `controller`, `session`, `python` | Predefined objects available directly by name. |
| Object | Constructor | Description |
|---|---|---|
| Collections | `array(…)`, `map(…)`, `bytes(…)` | Lists, key/value maps, and binary byte buffers. |
| Object | Constructor | Description |
|---|---|---|
| File Format I/O | `image_data()`, `image_stream()` | Objects for reading, writing, or holding external file format data. |
| Object | Constructor | Description |
|---|---|---|
| Utils | `crypto()`, `timer(callback)` | Helper objects for encryption and timed callbacks. |
| Object | Constructor | Description |
|---|---|---|
| Comm | `serial()` | Communication objects for external interfaces. |
| Object | Constructor | Description |
|---|---|---|
| Dialogs | `file_open()`, `file_save()`, `msg_ok()`, … | Host dialogs. |
| Object | Constructor | Description |
|---|---|---|
| GUI objects | `window()`, `panel()`, `image()`, … | Custom dialogs, forms, controls, and visual widgets. |
All object values support `to_string()`.
array(1, 2).to_string();
Objects that are cloneable also support `clone()`.
copy = array(1, 2).clone();
If an object does not support cloning, `clone()` raises a runtime error.
Previous: Objects
Next: Global objects