Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir array problem
Message
From
06/08/2008 17:45:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01337066
Message ID:
01337071
Views:
11
Hi Nick,
If the file is not found ADIR() will return 0 and no array is created. I would check for the return value of the ADIR()

Yelena

>I am using ADIR() command and it seems like the array is not creating. Here is the code:
>
>
>		ADIR(a__gen1,'debtfil2.debtait')
>		datestatus = a__gen1(1,3)
>
>
>The error I am getting is "File 'a__gen1.prg' does not exist." when I get to the datestatus. I am trying to capture data of the file and the file does exist. Any clues?
>
>thanks
>Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform