poparray
Returns a value from an array, and a copy of the array with the value removed.
Syntax
Usage
poparray simultaneously retrieves a value at an index, and removes the value from an array. poparray is useful to make queue's such as last-in-first-out or first-in-first-out (LIFO & FIFO).
Outputs and arguments
i/koutArr[] -- output array
i/kval -- output value from.
i/kinArr[] -- input array
i/kndx -- index from which to retrieve the item.
Example
See the example for poparray.orc