>>Sorry, didn't look at what you were doing closely enough. Why not just pass by value?
>
>If the parameter is an array at the beginning, it won't be an array when it gets to the function.
Ah! IC! OK, then just check if the incoming parameter is an array. If so, do the ACOPY(). If not, then store the contents of the parameter into another variable and deal with that.
George
Ubi caritas et amor, deus ibi est