1

my finish proc is not running

view story
linux-howto

http://www.linuxquestions.org – the code has taken from the wireless-gpsr.tcl ....................... set opt(seed) 0.0 set opt(stop) 250.0 ;# simulation time ............................ ............................. proc finish {} { #global ns_ tracefd namfile #$ns_ flush-trace #close $tracefd #close $namfile puts "running finish" exit 0 } $ns_ at $opt(stop) "finish" its generating no error,still not printing the message kept inside the finish procedure. (HowTos)