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

Re: [ns] rookie's question



Change 
 set ns tst
to
 set ns [new Simulator]

But is there any particular reason you want to use
commmand-line mode?


Kun-chan Lan

On Sat, 4 Aug 2001, yanxu liu wrote:

> Dear All,
> I have a question while start the simple sample of  ns-2 on win2000,
> I input :
> % set ns tst
> tst
> % set nf [open out.nam w]
> file1420d0
> % $ns namtrace-all $nf
> invalid command name "tst"
> 
> I don't know what I should do to pass this error msg, can anyone give some 
> help?
> 
> 
> Yanxu Liu
> Athens, OH45701
> E-mail: [email protected]