Tami,

What I understand you question is you have an variable, based on that you
need to create that much of users?
Ex. set s 10
for {set i 0} {$i < 10} {incr i} {
         set n$i [$ns node]
}


On 17 May 2011 15:43, Tami Nesher <[email protected]> wrote:

>
> Hi,
> How can I create nodes according to a variable number?
> I mean : I have a variable that contains the number of nodes that I need to
> create. How can I do it?
>



-- 

Thanks,

The box said "Requires Windows 95, NT, or better", so I installed Linux.

Mallikarjun [:)]

[image: YouTube] <http://in.youtube.com/mallikv> [image:
Blogger]<http://basicnetworktipsntricks.blogspot.com/> [image:
LinkedIn] <http://www.linkedin.com/in/mallikarjunaraok>

Reply via email to