Hi Ric,
>You are saying here laTest is [3], but I don't know how long it will be, so shouldn't I dimesion it
>and then redimension as needed to add new rows?? See, I know I am going to get something into
>laTest, but the way I have it.. the CallFunc() you have shown should be filling up an array and then returning the new, complete array back to laTest....
It all still should work fine. So the following is what you want to do (i hope :)
LOCAL ARRAY laTest[1]
CallFunc(@laTest)
FOR i = 1 TO 5
?laTest[i]
NEXT
FUNCTION CallFunc(laExtArray)
EXTERNAL ARRAY laExtArray
DIMENSION laExtArray[5]
FOR i = 1 TO 5
laExtArray[i] = i
NEXT
ENDFUNC
A fish this fine deserves to be a fish nugget styled chunklet.
- Fry