[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Re: dump-routes
Hi, Kannan:
Thank you for your quick response. I change the script
as follows: (I define $ns rtproto DV at the beginning of the code)
-----
set fh [open dyn.out w]
proc my-dump-routes {node fh} {
set dr [$node rtObject?]
$dr dump-routes $fh
}
$ns at 0.0 "my-dump-routes $n2 $fh"
$ns at 5.0 "finish"
$ns run
-------
And I get following error when I run it:
-----
ns: my-dump-routes _o11 file5: syntax error in expression "!SplitObjectCompare"
while executing
"if ![info proc SplitObjectCompare] {
puts stderr "$class::$proc failed. Update your TclCL library"
return
}"
(procedure "_o144" line 4)
invoked from within
"$dr dump-routes $fh"
(procedure "my-dump-routes" line 3)
invoked from within
"my-dump-routes _o11 file5"
-----
Because our SGI systems have installed Tcl7.6/Tk4.2
and tclcl-1.0b4, I am using ns-2.1b1. I am wondering
if it is the reason of the error?
++++++++++++++++++++++++++++++++++++++++++++++++++++
Bing Chen (702)895-1428 [email protected]
Dept. of Electrical and Computer Engineering
University of Nevada, Las Vegas, NV 89154
++++++++++++++++++++++++++++++++++++++++++++++++++++