Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with EXTERNAL ARRAY Revisited
Message
De
11/04/2007 14:26:38
 
 
À
11/04/2007 14:14:07
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:
01214596
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>There are times it may exist, and it may not. Most locations in the app referencing the array only run code if it exists as an array. The problem is only during the build of the app or exe. It runs fine with the check for type() in the runtime. Using external array should work, but for some reason it bombs when building the app still. I don't want to dimension it because if it doesn't exist, then I don't want to run the code IF TYPE('alen(gaarray,1)')="N"

In old FPW times you could fool the PJM

if .f.
dimension gaArray[1]
endif
IF TYPE('alen(gaArray,1)') <> "N"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform