Table of Contents

Built-in Objects

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.


Global Objects

Object Name Description
Global objects `settings`, `controller`, `session`, `python` Predefined objects available directly by name.

Collection Objects

Object Constructor Description
Collections `array(…)`, `map(…)`, `bytes(…)` Lists, key/value maps, and binary byte buffers.

File Format I/O Objects

Object Constructor Description
File Format I/O `image_data()`, `image_stream()` Objects for reading, writing, or holding external file format data.

Utility Objects

Object Constructor Description
Utils `crypto()`, `timer(callback)` Helper objects for encryption and timed callbacks.

Comm Objects

Object Constructor Description
Comm `serial()` Communication objects for external interfaces.

Dialog Objects

Object Constructor Description
Dialogs `file_open()`, `file_save()`, `msg_ok()`, … Host dialogs.

GUI Objects

Object Constructor Description
GUI objects `window()`, `panel()`, `image()`, … Custom dialogs, forms, controls, and visual widgets.

Common Object Methods

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