[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Wired nodes in the mixed networks



On Sun, 10 Jun 2001, Ahmad R Shahid wrote:

> Hi,
> 
> while creating wired nodes in a wireless-cum-wired
> networks, it writes:
> 
> for {set i 0} {$i<$num_wired_nodes} {incr i} {
>     set W($i) [$ns_ node [lindex $temp $i]]
> }
> 
> what does "lindex $temp $i" meab here...?
It returns an element in a list with the index specified, pls refer to a
TCL/TK manual for that command. Thanks.

-chen xuan

> 
> Thanks,
> 
> Ahmad
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 

-- 
Xuan Chen
USC/ISI