Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loop Timer and File Checking
Message
 
To
30/05/2008 14:55:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01320672
Message ID:
01320680
Views:
10
>You can use INKEY ():
CLEAR TYPEAHEAD
>INKEY (10)
>
>IF FILE('THEFILE.TXT')
>   PROCESS THE FILE
>ELSE
>   MESSAGEBOX ABOUT FAILURE
>ENDIF
>I want to check for a file's existence and then move on in the code.
>>

Thanks...

Won't this Wait 10 seconds, THEN let me look for the file?

I was wanting to immediately exit back to the program as soon as the File comes into existence, or exit after 10 seconds.... whichever is first.
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform