<snip>
>The PRG calls a UDF, passing the array like this.
>
>DO UDF WITH SomeArray
>
>The programmer attempted to receive the array in a UDF.
>PARAMETERS SomeArray
>
>Technically, the array wasn't passed, just the first element's value.
<snip>
The whole array is passed in this case because the DO command passes parameters by reference (unless they are enclosed in the parenthesises).
--sb--