[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] number of ns parameters allowed



I don't know what's happening in your script, but theoritically, it should
be ok with more than 6(or even more, I don't know the limitation as well
:)  To varify, I ran a small tcl script with 10 command line parameters
successfully one minitues ago.

Good luck in debugging your script. 

Huike (Victor) Li

Department of EEE
University of Melbourne
Victoria 3051
Australia
Tel: +61 3 9344 9201
Fax: +61 3 9344 9188



On Wed, 10 May 2000, Baoqing Ye wrote:

> 
>     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
>