- Jan 30, 2009
- 700
- 0
- 0
This is prob. dumb, but how do I put two conditions in a while loop in TCL?
For example:
set a 1
while { $i >=5 && $a>0 } {
incr i 1
}
How do I put conditions within the while "test" statement?
This is not for hw, for work, I'm a perl guy, but need to build upon the existing tcl code ... thanks in adv!
For example:
set a 1
while { $i >=5 && $a>0 } {
incr i 1
}
How do I put conditions within the while "test" statement?
This is not for hw, for work, I'm a perl guy, but need to build upon the existing tcl code ... thanks in adv!