Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problen with array
Message
From
19/01/2011 03:46:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01496518
Message ID:
01496527
Views:
70
>Code in my application
>
>lnFiles = ADIR(laDir, '&mRutaXML\*.xml')
>
>
>When build a exe file:
> Unable to find unknown LADIR Loctae, Ignore, Ignore all, Cancel

You could initialize the array with a LOCAL ARRAY ... command before you issue the ADIR().

If you're doing something so VFP thinks laDir is a function rather than an array, the EXTERNAL ARRAY command may help you.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform