Quote:
Originally Posted by cendana
But when I run script.tcl file in /tcl/ex/mdart, it has the following errors.._o22 cmd line1...
|
This doesn't look like an error.
Quote:
num_nodes is set 16
(_o22 cmd line 1)
invoked from within
"_o22 cmd addr"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"_o22 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o12" line 13)
(Simulator create-wireless-node line 13)
invoked from within
"_o12 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o12" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(n) } {incr i} {
set node($i) [$ns node]
$node($i) random-motion 0 ;# disable random motion
} "
|
It's not clear to me what the above text is. Can you clarify what it has to do with your problem?
When you post code or command input/output, please use [code] tags to format it. See my signature for instructions how to do this.