I want to write content like this to a text file:
ZZ4.VALUE ".PARAM Imax = 110"
with the numeric value contained in a Mathcad variable. I manage to generate the string with the format function, but when I write it to the text file with the writetxt function, I have characters " which are written at the beginning and at the end. Also, if I try to add a character " in the middle, I have this character twice:
"ZZ4.VALUE" ".PARAM Imax = 110" ""
How can I do ?
Solved! Go to Solution.
You may also want to add a LF (Linefeed, 11 if I remember right) between lines.
Linefeed is 10.
11 is vertical tab (something you usually get by manually entering Shift-Enter.