Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop Timer and File Checking
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01320672
Message ID:
01320680
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform