Reputation: 1971
As far as I know, the source command only accepts the name of the script. Is there any workaround to source a script with any number of arguments?
Upvotes: 0
Views: 83
Reputation: 246992
set argv [list your parameters go here]
source myscript.tcl
Upvotes: 2