Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir() help
Message
 
 
To
08/03/2005 10:39:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00909947
Message ID:
00993660
Views:
34
It doesn't matter what is stored in laFileList array before call to ADIR() because it'll be resized, if necessary, and filled by ADIR(). I doubt that line with ADIR() can generate the "Invalid Subscript Reference" error. Are you sure about that?
What VFP version are you using?

>I am using your _CDIR function, but I keep getting an "Invalid Subscript Reference" on the following line of the LoadOneDir function :
>
>lnFiles = ADIR(laFileList, tcPath + "*.*", lcAttributes, tnFlag)
>
>It seems like laFileList is sent to .f., and I can't figure out why. Thanks Sergey!
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform