Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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 should state the version and kind of 'mathcad' that you are using:
Mathcad 15, or Prime 1,2,3,4,5,6?
Further, how about:
Success!
Luc
You should state the version and kind of 'mathcad' that you are using:
Mathcad 15, or Prime 1,2,3,4,5,6?
Further, how about:
Success!
Luc
thanks, it is working!
With several lines, on Mathcad Prime 6, I do the following:
You may also want to add a LF (Linefeed, 11 if I remember right) between lines.
Luc
Linefeed is 10.
11 is vertical tab (something you usually get by manually entering Shift-Enter.