[ns] ERROR when run my fist tcl example

2011-08-31 Thread Bety Barreto Soares
  # myfirst_ns.tcl # create a simulator set ns [new simulator]   create a trace file set mytrace [open out.tr w] $ns trace-all $mytrace   create a NAM trace file set myNAM [open out.nam w] $ns namtrace-all $myNAM   define a procedure finish proc finish {} {  global ns mytrace myNAM

Re: [ns] ERROR when run my fist tcl example

2011-08-31 Thread nicholas mbonimpa
Hi Soares, Try writing simulator with capital S instead of small s. Try this tutorial for your first experience. Run the examples in it. They'll help you get used to the simulator. http://www.isi.edu/nsnam/ns/tutorial/ Kind regards, Nicholas Mbonimpa On Wed, Aug 31, 2011 at 7:46 AM, Bety