Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using if file (¯o)
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01047354
Message ID:
01047358
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform