shorten_array (array, size)
This function reduces or expands the size of an array by cutting off any elements which extend beyond the given size, or by adding nils to the end of the array until the new size is reached. This function is analogous to the C function, realloc.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.