Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR(): Bug or incomplete documentation?
Message
From
01/10/1999 09:15:51
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00270721
Message ID:
00271482
Views:
23
>>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.
Aahhhh... Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform