Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir array problem
Message
De
06/08/2008 17:45:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01337066
Message ID:
01337071
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform