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

Re: how to repeat trial?



On Thu, 18 Mar 1999, He Dan wrote:

> I want to do many trials of ex/simple.tcl.
> Write a shell or TCL script?
> 
> I write some lines as follows:
> 
> for {set i 0} {$i<10} {incr i}  {
> exec ns simple.tcl .. ..
> }
> 
> It is only once to be run.
> How i can do?
> 
> funny
> 
> Dan
> 

I did repeated simulations some days ago using TCL script, more or less
like your code above.  Maybe someone out there knows a better approach??

Good luck!

------------
Gang Wu    
School of ECE           
Purdue University
West Lafayette, Indiana 47905  
Office: EE Building 51                
Phone: +1 765 494-1744