The POP function returns the popped off values and reconfigures the array without the popped off element.

There is no good way to accomplish this in Kix The function would have to return the popped value and redim the input array. That means that the function has to manipulate the GLOBAL array by name using EXECUTE like I do in my HASH UDFs.
_________________________
Home page: http://www.kixhelp.com/hb/