Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does ADir() always create an array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01187382
Message ID:
01187403
Vues:
33
>>This is the best. But make it LOCAL so in case you have defined variable beforehand you didn't spoil its value, also in all cases check if you didn't use the same variable in the same routine.
>
>I don't think that I used the variable elsewhere, but I will look and see if perhaps I did.

Just put:
SET ASSERTS ON 
ASSERT TYPE([aPatFiles]) # [U]
before ADIR()

and when it stops DEBUG where you use it :-) (see, I didn't use IF :-)))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform