[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] can i give command line arguments to a tcl file?
Hi Sumitha,
Yes it is possible and you can retrieve them in your tcl file with:
set arg1 [lindex $argv 0]
set arg2 [lindex $argv 1] ...etc...
Hope it helps
Fabienne
Sumitha Bhandarkar wrote:
>
> can i give command line arguments to a tcl file?
>
> ex:
>
> ns test.tcl $1 $2 $3
>
> Sumitha
begin:vcard
n:LEFEVRE;Fabienne
tel;work:MOTOROLA LABS
x-mozilla-html:FALSE
org:MOTOROLA LABS - Paris
adr:;;;;;;
version:2.1
email;internet:[email protected]
fn:Fabienne LEFEVRE
end:vcard