Chapter 11: Lists 261
Using dim( to Create a List
Using dim( to Create a ListUsing dim( to Create a List
Using dim( to Create a List
You can use
dim( with ¿ to create a new listname with dimension length from 1 to 999.
The elements are zeros.
length!dim(listname)
Using dim( to Redimension a List
Using dim( to Redimension a ListUsing dim( to Redimension a List
Using dim( to Redimension a List
You can use
dim with ¿ to redimension an existing listname to dimension length from 1
to 999.
• The elements in the old
listname that are within the new dimension are not changed.
• Extra list elements are filled by 0.
• Elements in the old list that are outside the new dimension are deleted.
length!dim(listname)