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

Re: [ns] packetsize




set psize [$cbr0 set PacketSize_]
$cbr0 set PacketSize_ [expr $psize + 100]

has more chances to work 

>X-Originating-IP: [147.197.200.4]
>From: "Nicole Zhu" <[email protected]>
>To: [email protected]
>Subject: [ns] packetsize
>Date: Thu, 27 Jul 2000 12:14:03 GMT
>Mime-Version: 1.0
>
>Hi
>In the tutorial "the first TCL script", there is one command "$cbr0 set 
>packetSize_ 500".
>The question is if I want to change the packetsize every 10s in the same TCL 
>script, can I put the command
>"$cbr0 set packetSize_ $packetSize_+100"? if not, how can I achieve that 
>aim?
>
>Hope to hear from you soon!Urgent!
>Cheers!
>Xiaoyan Zhu
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Tarik