sir,
When i am running below tcl script it gives error:Flow 1
starts at time 0.00
Segmentation fault (core dumped)
but in other tcl script is work better than below tcl
script...
I am not understand what error in below tcl script
Hello,
Im running the *script* in attachement but Ihe *error* below :
testMIH05-05.*tcl* http://old.nabble.com/file/p33986038/testMIH05-05.tcl
*Simulation is running ... please wait ...
can't read Node_(7): no such element in array
while executing
return $Node_($id)
(procedure _o3 line
Yes, that solved the problem , thank you very much.
From: Leo Sánchez sanc...@ugr.es
To: ns-users@ISI.EDU
Sent: Wednesday, June 22, 2011 8:57 PM
Subject: Re: [ns] Error in Tcl script
Try defining the process this way:
proc discover_ferry { src dst now
Hi,
This error appear when I try to invoke discover_ferry{} function
ns: discover_ferry 1 13 0.00 3 : can't read node_(1): no such
variable
while executing
$ns_ attach-agent $node_($src) $udp_($index)
(procedure discover_ferry line 6)
invoked from within
discover_ferry
Try defining the process this way:
proc discover_ferry { src dst now index } {
global ns_ node_
...
...
...
}
Hope it helps!
Leo Sánchez
El 22/06/2011 16:48, Mohamed Ibrahim Salman escribió:
Hi,
This error appear when I try to invoke discover_ferry{} function
ns: discover_ferry 1