Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with EXTERNAL ARRAY Revisited
Message
From
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:
01214584
Views:
7
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"


>Did you dimension it?
>
>>I have code in a form method:
>>
>>EXTERNAL ARRAY gaArray
>>
>>IF TYPE('alen(gaArray,1)') <> "N"
>>
>>However, everytime I build, it shows the error that gaArray is not defined in this form. What am I missing?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform