hello all ,
I am using commands
$ns  color 1 Red
$tcp0 set class_ 1  with this their is no change of packet flow color

and
$node4 color blue
$ns at 0.0 "$node0 color red" gives the following error---

av...@localhost ~/NS_WORKS/ns2program> ns routingex.tcl
num_nodes is set 6
INITIALIZE THE LIST xListHead
Starting Simulation...
ns: _o14 color red: can't read "attr_(COLOR)": no such element in array
    while executing
"eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S COLOR -c $color -o
$attr_(COLOR) -i $color -I $attr_(LCOLOR)""
    invoked from within
"if [$ns is-started] {

$ns puts-nam-config  [eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S
COLOR -c $color -o $attr_(COLOR) -i $color -I $attr..."
    (procedure "_o14" line 6)
    (Node color line 6)
    invoked from within
"_o14 color red"



Can someone point to the exact problem and solution.
preeti  khanwalkar

Reply via email to