Struct Array

Generic array, contains several elements of any type, accessible by numerical index starting at 0. Negative indices can be used to count from the right, like in Python. Arrays are always passed by reference.

struct Array ;

Methods

NameDescription
dup Allocate a new separate copy of the Array
make Create an array and add all args to it.
opAssign Assigning null empties the Array variable, but unlike clear, does not destroy the original memory unless it was the only remaining reference.