Skip to main content

Using Complex Data Types

Variables support complex data types like Table, TableRow, List, and Dictionary.

Note

Variables of complex data types cannot be re-declared.

Examples

$L = CollectionCreate(false ; 0)

Variable $L is of type List of numbers.

$T = DefineTable('myTable'; 'Column1'; ''; 'Column2'; 0)

Variable $T is of type Table with two columns:

  • Column1 of type String

  • Column2 of type Number

$R = TableNewRow($T)

Variable $R is of type TableRow with the same columns as the table $T.

$D['Crude'] = 0

Variable $D is of type Dictionary and a value pair ('Crude', 0]) is added.