Lists 8-7
DIM (dimension, LIST OPS, item 3) returns the length (number
of elements) of the specified list.
DIM list
DIM is used with § to create a new list with a specified
number of elements. The elements of the new list are zeros.
length!DIM listname
DIM is also used with § to redimension an existing list.
¦The elements in the old list that are within the new
dimension are not changed.
¦Any elements in the old list that are outside the new
dimension are eliminated.
¦Any additional elements that are created are zeros.
length!DIM listname
Accessing List
Dimensions with
DIM
Creating a List
with DIM
Redimensioning
a List with DIM