| View previous topic :: View next topic |
| Author |
Message |
dansari Voice
Joined: 09 Feb 2006 Posts: 1
|
Posted: Thu Feb 09, 2006 11:37 pm Post subject: Gobal Variable Script |
|
|
I am new to the tcl language. I have a script that calls another script with parameters that are set in each. We need a script that modifies the parameters in each of the scripts at the same time to do parameter variation.
So I need a top script that will give inputs to the two levels of scripts to set variables in them at the same time.
How can this be done? Can you give me an example?
Thank you for your help... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Feb 11, 2006 12:09 am Post subject: |
|
|
what do you mean by "two levels"? if you simply source a script from another, that's not a level unless you do it in a proc, in which case you need to learn about uplevel and upvar _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|