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

Re: Initialise the simulation



On Thu, 16 Sep 1999 11:20:23 PDT, "Huiwen Li" wrote: 
>Hi,
>
>I just noticed a strange use of ns in test-suite-v1.tcl. It didn't use "set
>ns [new Simulator]" to initialise the simulation. I am wondering if we need
>to use [new Simulator] for each of our test files? I also notice some other
>test files didn't use it.
>
>Also in this file, it use "ns" instead of "$ns" all the time. It is a rarely
>used this way, I think. Is there any explanation for this? 

The v1 test suite runs in ns, version 1 mode.
You've listed some of the differences in that mode.

Please don't use the v1 code as examples for writing new code.

   -John Heidemann