>>>You can add following code to the program/methods to fix the problem
>>>*** None-executed code to satisfy Project Manager ***
>>>IF .F.
>>> DIMENSION myarray[1] <--- The name of array that generates an error
>>>ENDIF
>>>
>>Yes, that makes the err file go away. But I still don't understand way it does it in the first place.
>
>Cannot say because I never use global variables.
thing is, it is not a global variable, it is a passed in variable. It is a local in the main program, and passed by reference (@) to the sub functions.