Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem using if file (¯o)
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01047354
Message ID:
01047358
Vues:
8
This message has been marked as the solution to the initial question of the thread.
>The routine below does not work
>Anybody has a clue ?
>
>It looks like I cannot use a macro& withing if file ()
>
>Thanks, Moises
>
>
>dire = getdir ()
>
> cll = dire + "/" + "cl.dbf"
>
> if .not. file(&cll)
>
> = messagebox ("File not found")
>
> endif
dire = getdir ()

   cll = addbs(dire) + "cl.dbf"

   if .not. file(cll) && if adir(laFiles, cll) = 0

      = messagebox ("File not found")

   endif
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform