Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an empty text file
Message
 
To
02/10/2000 14:51:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00423639
Message ID:
00423644
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform