Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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
May 5, 2013
5
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?
 
Replies continue below

Recommended for you

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