tmsh::argc

Description

Contains the number of arguments including the name of the script.

Syntax

tmsh::argc

Examples

proc script::run {} {
{ for { set idx 1 } { $idx < $tmsh::argc } { incr idx } {
   lappend ::pool_ids [lindex $tmsh::argv $idx]
 }
}