>How would I delete the top line in an ASCII file with low level commands, such as: fopen() ,fputs(), fclose?
>
>TIA
>
>Jim
From the top of my head:
lcStr=filetostr("myfile.txt")
#define CRLF chr(13)+chr(10)
lnPos=at(CRLF,lcStr)
strtofile(substr(lcStr,lnPos+1),"myNewFile.txt")
Something like this.
If it's not broken, fix it until it is.
My Blog