/
Arrays
Arrays
Arrays are created by enclosing comma-delimited expressions in square brackets like so:
["a", "b", "c"]
Arrays use zero-base indexing and can be referenced in the usual manner:
a = [1,4,3,6,5]; b = a[1] // b = 4
Note that array references work for arrays of any dimension. For example, c[1][2]
is allowed (presuming c
is an array of arrays).
Operations on Arrays
There are a number of operators that work on arrays. In addition there is an array membership infix operator.
, multiple selections available,
Related content
Map Operators
Map Operators
Read with this
Array Operators
Array Operators
Read with this
User Defined Modules
User Defined Modules
Read with this
Universal Operators
Universal Operators
Read with this
Meta Section
Meta Section
Read with this
Managing Subscriptions
Managing Subscriptions
Read with this
Copyright Picolabs | Licensed under Creative Commons.