Re: [tcljava-user] problem with bracket translation "[ ]"
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2008-06-04 21:13:07
|
militho_sw1 wrote: > > we are using a jacl/swank combination, but are having problems with > the following: > > sendToTcs 0 "set o \[new_Overlay__Orientation\]" > > sendToTcs is a proc that takes 2 arguments. Now I want to send > "[new_Overlay__Orientation]" exactly.. I do not want a any command > evaluation. I tried two \ and that doesn't work either. I also tried: > > sendToTcs 0 "set o {[new_Overlay__Orientation]}" > I am not sure what the cause of this could be. The following two commands would pass the exact same string argument: sendToTcs 0 "set o \[new_Overlay__Orientation\]" sendToTcs 0 {set o [new_Overlay__Orientation]} cheers Mo DeJong |