Sidebar

Home



Expressions V4


Tutorials

How-To

Reference

  Lexical basics
  Type system
  Variables and assignment
  Operators
  Expression rules
  Control flow
  Functions
  Built-in functions
   None and NaN
   Arithmetic
   Algebra
   Logarithmic and Exponential
   Trigonometric
   Rounding and Centering
   Strings
   Output, Formatting, Clipboard, and Errors
   Dialog Functions
   Platform and Paths
  Methods and properties
  Built-in methods
   Common Value Methods
   Number Methods
   String Basic Methods
   String Slice Methods
   String Parsing Methods
   String Formatting Methods
   String Regex Methods
   String Trim and Case Methods
  Objects
  Built-in objects
   Global objects
    settings
    controller
    session
    python
   Collections
    array
    map
    bytes
   File Format I/O
    image_data
    image_stream
   Utils
    crypto
    timer
   Comm
    serial
   Dialogs
    file_open
    file_save
    msg_ok
    msg_ok_cancel
    msg_yes_no
    msg_password
   GUI objects
    window
    panel
    group
    splitpanel
    label
    textbutton
    drawablebutton
    togglebutton
    togglegroup
    textinput
    textedit
    numinput
    slider
    combobox
    listbox
    progressbar
    led
    separator
    menu
    image
    snake
  Classes and user-defined objects
  Include system
  Error model
  Execution model and sessions
  Host integration
  Limits and performance
  Formal reference
  Glossary

Cookbook

exprv4:reference:built_in_objects

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

exprv4/reference/built_in_objects.txt · Last modified: by 127.0.0.1

Page Tools