I am using a method that gets an array passed as a parameter. When I
run it in development mode it runs fine. When I try to build it though,
FoxPro gives an error saying Unknown myArray - Undefined. What do I have to
do to make it so that it doesn't give this error. I have the array as the
parameter to the method and I am passing the array by using the @.
this is basically what I am doing
Select *;
FROM sometable;
into array testarray
if _tally > 0
myProc(@testarray)
ENDIF
Procedure MyProc
parameters myArray
**do some stuff here with the array
Endproc
--
Altman
VFP9