How do I pass parameters between .ui.tcl ...

  • Nobody/Anonymous

    I have a root.ui.tcl script that sources secondLevel.ui.tcl, which (secondLevel.ui.tcl) then sources thirdLevel.ui.tcl script. The root.ui.tcl contains a variable called "spawn_id", and the secondLevel.ui.tcl contains a variable called "commandName". I need to have "spawn_id" and "commandName" to be passed down to the thirdLevel.ui.tcl so that the thirdLevel.ui.tcl can process these data. Can any one tell me how to pass the parameters down please? Thanks.

    • Nobody/Anonymous

      Sounds very complicated, so I don't know the way I would recomend, but you could always use a global variable which you could possibly unset again once it has been passed on.



Log in to post a comment.