>I passed an array as a parameter to a procedure. With the debugger I can see that all elements in that array are there.
>
>The problem is that when I compile I receive an error message (in the called procedure) saying "Unable to find NameOfMyArray"
>
>Problem is caused by following line
>
>nResult = NameOfMyArray[1,1]
>
>But like I said the values are all in that array.
DIMENSION foo[3]
myFunction(@foo)
FUNCTION myFunction
LPARAMETERS taArray
EXTERNAL ARRAY taArray
taArray[1] = "Hi"
taArray[2] = "Mom!"
taArray[3] = "Miss you."