•The conditional statement is re-evaluated upon the completion of each iteration through the loop.
•FreeFlyer exits the loop once the conditional statement is no longer true.
•Upon exiting the While loop, FreeFlyer transfers control to the item directly following the corresponding End statement.
•It is possible to test for multiple logical conditions using the "and" and "or" operators. See the Flow Control Script Reference for more information.
•A While statement can depend on an unlimited number of conditional statements. Possible relational conditions are:
o<, <=, >, >=, ==, !=, IsType
•Additional conditional syntax supported in millisecond timing precision mode only:
ois, not, very, somewhat, almost, usually (used with FuzzySet object only)
o= (equivalent to ==)
o~= (equivalent to !=)
•A While statement must be closed with an End statement.
•To create complex logic flow, you can construct nested loops using multiple While commands, along with For and If statements.
•The Break and Continue statements can be used to control logic flow for exiting While loops.
•Unlike when working with For loops, properties and methods with a state are not reset at the start of each iteration of a While loop. See Properties and Methods with a State for more information.