insert (array, position|compare_function, value)
The insert function widens an array at the given position and inserts the value. If a compare_function is used, it must return a negative number if the value is ordinally less than the array element, 0 if the two are equal and a positive number if the value is ordinally greater than the array element. The value will be inserted using a binary insertion sort, based on the return value of the function.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.