Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with EXTERNAL ARRAY Revisited
Message
 
 
À
11/04/2007 16:38:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01214564
Message ID:
01214713
Vues:
8
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform