madhusudhan_prabhu
Newbie level 4
Hi,
I want to pass parameter to a tcl file.
e.g.
test.tcl file contains:
set i [lindex $argv 0]
When I use the following command : source test.tcl 9
on the TCL prompt it gives an error.
tcl prompt:
% source test.tcl 9
wrong # args: should be "source fileName"
Please somebody help me.
Regards,
Madhusudhan Prabhu
I want to pass parameter to a tcl file.
e.g.
test.tcl file contains:
set i [lindex $argv 0]
When I use the following command : source test.tcl 9
on the TCL prompt it gives an error.
tcl prompt:
% source test.tcl 9
wrong # args: should be "source fileName"
Please somebody help me.
Regards,
Madhusudhan Prabhu