num_nodes is set 20
INITIALIZE THE LIST xListHead

    (_o245 cmd line 1)
    invoked from within
"_o245 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 "_o245" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o245 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 "_o3" line 14)
    (Simulator create-wireless-node line 14)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns node"
    ("for" body line 2)
    invoked from within
"for {set i $val(nn)} {$i < [expr {$val(nn)+$val(adv)}]} { incr i } {
        set node_($i) [$ns node]
        $node_($i) set X_ [ expr {$val(x) * rand()} ]
        ..."
    (file "wl1.tcl" line 165)




      

Reply via email to