Removing Elements
ArrayRemoveCount(array, beginningIndex, numElements)
ArrayRemoveCount
removes one or more elements from anywhere within an array:
x := [15, "xyz", {a: 2, b: 3}]; ArrayRemoveCount(x, 0, 2);After the code has executed,
x
has only one element: {a: 2, b: 3}
.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996