Dim

From NexusWiki
Jump to: navigation, search

Dim(list, size);

It changes the number of elements in the list to ’size’ number. Those elements that have an index below ’size’ remain, those that are above, will be deleted. If the list was shorter, than it will be filled up with 0-s. So if you want to create an array that contains only 0-s, than you have to empty first.