你好!
用“args“关键字表示支持可变参数。
total
[list
1
2
3]
如果对你有帮助,望采纳。
用“args“关键字表示支持可变参数。
total [list 1 2 3]
All Tcl scripts have access to three predefined variables.
$argc - number items of arguments passed to a script.
$argv - list of the arguments.
$argv0 - name of the script.