Mon, 9 Mar 1998 22:24:29 -0600 (CST)
The arguments are kept in argv only. argv is a list of the arguments
passed to the program. You can access individual arguments by using the
lindex command, as follows;
set arg1 [lindex $argv 0]
0 being the first argument passed.
And argc contains the number of arguments passed and can be accessed as
Department of Electrical and Computer Engineering
Louisiana State University
Home phone: (504) 336-9093
On Mon, 9 Mar 1998, Duke Tantiprasut wrote:
> Sorry for the trival question but I'm not very familiar with tcl/otcl.
> where are the arguments passed into ns kept. i.e. ns [file [arg arg...]]
> I checked $argv but I dont think that's it.