Output string?
Output string?
(OP)
I want to output a string Example mom_output_literal "Test strin[g]$ma_sendto"
In this example it is an error due to the [] but I need to output them as text, and I also want the "$ma_sendto" to output as just that not a variable because it's not, is there a way to send this to the post as just a string that is not acted on?
In this example it is an error due to the [] but I need to output them as text, and I also want the "$ma_sendto" to output as just that not a variable because it's not, is there a way to send this to the post as just a string that is not acted on?





RE: Output string?
Change your example to mom_output_literal "Test strin\[g\]$ma_sendto"
the back slash is in tcl to allow output of special characters.
I would recommend reading the tcl docs provided with post builder and there are a lot of Tck/Tk sites available on the web for example
http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial....
John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5,NX8.5, NX9.0
Vericut7.3