sun_ray
Advanced Member level 3
Re: procedure in tcl language
So $argv is for the command tclsh fatal_necessary.tcl filename. The zero in $argv 0 is for getting the 'filename' in command line. But how can the 'filename' be the zeroth element? It shoud be the 1st element in the command line. Is not it?
Regards
$argv 0 is getting the filename Its getting command line arguments..
So $argv is for the command tclsh fatal_necessary.tcl filename. The zero in $argv 0 is for getting the 'filename' in command line. But how can the 'filename' be the zeroth element? It shoud be the 1st element in the command line. Is not it?
Regards