Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR(): Bug or incomplete documentation?
Message
From
30/09/1999 21:26:13
 
 
To
29/09/1999 15:28:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00270721
Message ID:
00271399
Views:
18
>The ADIR() function documentation states that if you specify an array that does not exist one will be automatically created for you. This is accurate when you are running an exe or in the command window. However, it is not so when you execute ADIR() in a DLL. If you do not declare the array before calling ADIR(), it does not create it and returns 0.
>Has anybody else run into this?

I have found this to be true if the array variable you attempt to pass it is LOCAL. Make sure it's a PRIVATE variable if you must declare it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform