Hi all
I am wanting to be able to clear out a dat file.
This is the code I have so far, but it ain't working =|
Since I did not a know way to just clear the contents I am trying to get the file to just truncate to 0
But if you have a better way Please tell me =)
gcCsvName = getfile('DAT', 'Clear Dat:')
if empty(gcCsvName)
return 0
else
gnCsvFile = fopen(gcCsvName)
fchsize(gnCsvFile, 1)
fclose(gnCsvFile)
endif
This is my signature there are many like it but this one's mine.