Command-line arguments: Difference between revisions
m
→[[Tcl]]: Fixed formatting
m (→[[Tcl]]: Fixed formatting) |
|||
Line 39:
[[Category: Tcl]]
The pre-defined variable <tt>argc</tt> contains the number of arguments passed to the routine, <tt>argv</
if { $argc > 1 } { puts [lindex $argv 1] }
|