Hello everyone. Need help with the following, i'm copying string from one file to the end of a line in another file. I need to copy string exactly the way it is on the file i'm copying from. On the line i'm copying to ends like this. WHS1 AVG=
I then write the new information:
2,018 } Which should look like this:
WHS1 AVG= 2,018 } but instead it looks like this:
WHS1 AVG=2018 }
Lines are the same length (numbers might be less for example WHS1 AVG= 300 } ) but the are the same length.
How can i write exactly the way it is to the end of the line including spaces !!!! This is not working:
strfmt sOutPut " %s" sVar4
fseek 0 (-2) 1
finsblock 0 18
fwrite 0 sOutPut 18
I then write the new information:
2,018 } Which should look like this:
WHS1 AVG= 2,018 } but instead it looks like this:
WHS1 AVG=2018 }
Lines are the same length (numbers might be less for example WHS1 AVG= 300 } ) but the are the same length.
How can i write exactly the way it is to the end of the line including spaces !!!! This is not working:
strfmt sOutPut " %s" sVar4
fseek 0 (-2) 1
finsblock 0 18
fwrite 0 sOutPut 18