insert (array, position|compare_function, value)
An array.
A number giving the zero-based position of the new element within the array, or a function.
A function on two arguments used to compare elements in the list or array.
Any Gamma or Lisp expression.
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-2010 by Cogent Real-Time Systems, Inc. All rights reserved.