Hi,
I'm looking a way to get the value of TCL variable from FE Output template.
In fact I would like to control template by using TCL variable, so my template has something like:
*if([VALUE == 1]) ... *endif() *if([VALUE != 1]) ... *endif()
Where 'VALUE' comes from TCL variable.
Any idea?
TIA,
Hi. The way I prefer to do is to put template codes in a tcl variable and use string map to change it, like this
set TplCodes {your codes}
set TplCodes [string map