hexagon logo

XSTATS11.tmp

I thought this would be nice for the first thread here. Any PCDMIS part program I have that saves stats I put this at the begining of. It looks for and deletes the xstats11.tmp file when executed. This avoids the way of doing it manually which is usually right after things screw up.

V1 =FILE/EXISTS,C:\PCDMISW\Xstats11.tmp
IF/V1==1
FILE/DELETE,C:\PCDMISW\Xstats11.tmp
END_IF/


Craig
Parents
  • The decision not to delete the stats file when an error occurs was decided long ago. Since the file is ascii it can be read using WordPad. If the DB path is the only thing wrong (and this is the cause of the error just about 100% of the time) the user can modify it to the correct path and update with this information. The down side is the user could also change the data values or add new data values.
Reply
  • The decision not to delete the stats file when an error occurs was decided long ago. Since the file is ascii it can be read using WordPad. If the DB path is the only thing wrong (and this is the cause of the error just about 100% of the time) the user can modify it to the correct path and update with this information. The down side is the user could also change the data values or add new data values.
Children
No Data