Hi,
I'm trying to call serveral procedures in a for-loop, but each cycle of the loop calls another procedure (named procedure0, procedure1,...), like this:
for {set x 0} {$x < 10} {incr x} {
puts "loopcount [expr $x + 1]"
$ns at $x "procedureX"
}
Does someone know how I can do this?
thx
I'm trying to call serveral procedures in a for-loop, but each cycle of the loop calls another procedure (named procedure0, procedure1,...), like this:
for {set x 0} {$x < 10} {incr x} {
puts "loopcount [expr $x + 1]"
$ns at $x "procedureX"
}
Does someone know how I can do this?
thx