Apple Shake 4 User Manual
Page 961
Advertising
Chapter 31
Expressions and Scripting
961
If there is no initialization or reinitialization, “while” often makes more sense than “for.”
Do/While
This variation of “while” is different in that it tests at the bottom of the loop, so the
statement body is done at least once. In the “while” above, the test may be false the
first time and so nothing is done. Note on all of the other statements, a semicolon was
not needed. This expression does need it at the end.
do {
do_this
} while (this_expression_is_true);
Advertising