Stores a list of values.
@
: At operator. Takes an index number, or list of index numbers, and produces the vector's values at those positions.#
: Size operator. Gets the number of elements in the vector.&
: Address operator. Gets a reference to the vector tag's location.
clear
: Clears the contents of the vector. If the onClear
field is specified, that code is executed,
otherwise the onCommit
field is executed if that field is specified.onPush
: onClear
: onCommit
: onPull
: The vector
tag holds a list of zero or more values. When a new value is pushed into a vector, it is added to
the end of the list. Values are immutable once added to the list, they cannot be modified without clearing the
entire vector.
Vector fields within ioL work with the same mechanics as vector tags, so the same built-in secondary fields that apply to vector tags also apply to vector fields.