Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with EXTERNAL ARRAY Revisited
Message
 
 
To
11/04/2007 16:38:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01214564
Message ID:
01214713
Views:
7
>>>>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.

With
FUNCTION Parse2Array
LPARAMETERS tcList, taArray, tcSeparator
EXTERNAL ARRAY taArray
I don't have any error in compile time.

What we're missing here?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform