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