[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Passing Arguments
You should use the default variables of tcl:
argc and argv
Please consult a tcl book / tutorial for details.
Thanks,
-chen xuan
On Fri, 21 Jul 2000, Apu Kapadia wrote:
>
> Hello,
>
> How can I pass arguments to my .tcl scripts, so that I can set up multiple
> simulations of the form:
>
> ns simulation.tcl arg1 arg2
>
> How can I access arg1 and arg2 from within simulation.tcl
>
> Thanks,
> Apu
>
>
--
Xuan Chen
ISI/USC