Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Output string?

Status
Not open for further replies.

jlogic45

Aerospace
Joined
May 5, 2013
Messages
5
Location
US
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?
 
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



John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5,NX8.5, NX9.0
Vericut7.3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top