[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Problem with example3.tcl
The problem is it should be duplex-link instead of duplix.
Hope this helps,
--Padma
On Tue, 14 Aug 2001, Raj M Verma wrote:
> Dear all, I'm trying to run the example3.tcl from Marc Gries tutorial but I
> 'm getting the following errors. I used exactly the same code from that
> example but I donno y, it's not running. The errors that I'm getting are :
>
> (_o3 cmd line 1)
> invoked from within
> "_o3 cmd duplix-link _o11 _o14 1Mb 10ms DropTail"
^^^^^^^^^^^^
> invoked from within
> "catch "$self cmd $args" ret"
> (procedure "_o3" line 2)
> (SplitObject unknown line 2)
> invoked from within
> "$ns duplix-link $n($i) $n([expr ($i+1)%7]) 1Mb 10ms DropTail "
> ("for" body line 2)
> invoked from within
> "for {set i 0} {$i < 7} {incr i} {
> $ns duplix-link $n($i) $n([expr ($i+1)%7]) 1Mb 10ms DropTail
> }"
> (file "example4.tcl" line 20)
>
>
> I think there is some problem with the loop. 'cos while trying this example
> it's giving some probs whenever I use the for loop for the topology. Someone
> who know this, Pls help me. Thanx.
>
> Raj.
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
--
------------------------------------------------
Be true to your work, your word, and your friend.
--Thoreau
Padmaparna Haldar