>I'm sorry, I forgot to specify that!
>
>In my main program I specified the folowing:
>SET UDFPARMS TO REFERENCE
>and I didn't issue another "SET UDFPARMS" command anywhere else.
>
>Do I still need to specify the "@"?
No, you shouldn't. Trey was correct (serves me right for not reading the post more closely). Use the EXTERNAL ARRAY < array name > to get rid of the compiler error. I thought you were having trouble with the function behaving correctly.
George
Ubi caritas et amor, deus ibi est