VikramChand
Programmer
Hi,
I have written the following code for the carriage return . Can u let me know what is wrong with this. I am not able to get the carriage return sequence after every line is wrtten to the test file.
My code
fopen 10 "c:\test\Log.txt" readappend
strfmt tempstr "TRNSFR|1|0|%-s|%-s|%-s|%-s|%-s" $DATE $TIME $SCRIPTFILE ftobeuploaded filereference
fputs 10 tempstr
fwrite 0 0x0A0D
fclose 10
thanks
I have written the following code for the carriage return . Can u let me know what is wrong with this. I am not able to get the carriage return sequence after every line is wrtten to the test file.
My code
fopen 10 "c:\test\Log.txt" readappend
strfmt tempstr "TRNSFR|1|0|%-s|%-s|%-s|%-s|%-s" $DATE $TIME $SCRIPTFILE ftobeuploaded filereference
fputs 10 tempstr
fwrite 0 0x0A0D
fclose 10
thanks