while ( expression ) statement ;
The while statement has the form: while( expression ) statement The expression is evaluated before each execution, and the statement is executed zero or more times, as long as the expression is not zero.
The while statement has the form:
while( expression ) statement
The expression is evaluated before each execution, and the statement is executed zero or more times, as long as the expression is not zero.
To execute the example below, press or modify the example to try different variations. on_alarm { puts { "Reached ", i, ", or ", (float(i)/3)," iterations per second." } ; exit ; } alarm 3 ; global i ; for ( i=0; i<100000; i++ ) ;
while , do