start | all-pages
arrays
Arrays are sequences of values. They are one of the central data
types in *Konilo.
In memory, an array consists of a count, followed by the values.
For instance, an array with 67, 102, and 33 can be constructed
like this:
(pointer) (count) (first_value) (second_value) (last_value)
here #3 comma #67 comma #102 comma #33 comma
Words operating on arrays are prefixed by `a:`.
Important: the size of an array is fixed at time of creation.
You can not resize an array.