Skip to content

arrayslib

The compiler turns Dim and Dim List into calls of this library, which computes the size of an array from its dimensions and gives it cleared memory, for global arrays and for the local arrays of procedures. For a list array it also sets up the list of its items, which the commands of the linklistlib library work on.

A dimension has at most 65535 elements, the indexes 0 to 65534; with runtime error checking, a higher index in a Dim or Dim List is the error “Array Dimension out of Range”. An array of 4 GB or more cannot be given memory: its Dim stops with the error “Out of Memory!”, and with runtime error checking with “Array Size out of Range”.

Library number 65434.

This library declares no commands. Its routines are used by the compiler, by the code it generates or by other libraries.