[ns] error in tcl script

2015-05-16 Thread alok kumar
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 scrip

Re: [ns] Error in Tcl script

2011-06-23 Thread Mohamed Ibrahim Salman
 Yes, that solved the problem , thank you very much. From: Leo Sánchez 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 index } { global

Re: [ns] Error in Tcl script

2011-06-22 Thread Leo Sánchez
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_ferr

[ns] Error in Tcl script

2011-06-22 Thread Mohamed Ibrahim Salman
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_