[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] number of ns parameters allowed
Has anybody ran ns script with more than six parameters successfully?
thanks.
Baoqing Ye wrote:
> Hi, there,
>
> I am wondering if there is any limitation for the number of parameters
> that ns is able to accept?
> I used 6 parameters in a script invoked by ns which worked fine, but
> when I added another one (7 parameters total) it wouldn't pass the
> interpreter.
> e.g1 command line as:
> ns <filename.tcl> <par1> <par2> <par3> <par4> <par5> <par6>
> --> pass
> e.g.2 ns <filename.tcl> <par1> <par2> <par3> <par4> <par5> <par6>
> <par7>
> --> error: "usage: ns <cript-name> <par>"
>
> Or am I missing something here?
>
> thanks.
> -Baoqing