Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an empty text file
Message
 
À
02/10/2000 14:51:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00423639
Message ID:
00423644
Vues:
33
tcfilename="C:\temp\myfile.txt"
lnErrFile = FCREATE(tcFileName) && If not, create it.
IF lnErrFile < 0 && Check for error opening file.
WAIT 'Cannot open or create the Log File: ' + tcFileName WINDOW NOWAIT
RETURN
ELSE
=FCLOSE(lnErrFile ) && Close file
"Anyone who has never made a mistake has never tried anything new." A.E
"The important thing is not to stop questioning. Curiosity has its own reason for existing." A.E
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform