Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with EXTERNAL ARRAY Revisited
Message
From
11/04/2007 14:26:38
 
 
To
11/04/2007 14:14:07
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:
01214596
Views:
10
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"
Previous
Reply
Map
View

Click here to load this message in the networking platform