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, and Errors
   Dialogs, Clipboard, 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
   Collections
    array
    map
    data_array
   Image data
   Image stream
   Dialogs
    fileopen
    filesave
    msgok
    msgokcancel
    msgyesno
    msgpassword
   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:objects:collections

Collections

Collection objects store multiple values.

This group contains the general-purpose Expr containers and binary byte buffer object.


Collection Pages

Constructor Page Description
`array(…)` array Ordered list of Expr values.
`map(…)` map Ordered key/value map.
`data_array(…)` data_array Raw byte buffer with typed binary access.

Choosing a Collection

Use `array` when order matters and values are addressed by numeric index.

Use `map` when values are addressed by string keys.

Use `data_array` when the content is binary data rather than normal Expr values.

Previous: Built-in objects

Next: array

exprv4/reference/objects/collections.txt · Last modified: by 127.0.0.1

Page Tools