Use this command to insert any of the following flow-control statements into your code.
Command |
Description |
If-Then |
Makes a decision regarding the program's flow based on a result returned by an expression. |
If-Then-Else-Endif |
Makes a decision regarding the program's flow similar to the If-Then command, with the added condition that if the If expression is false, any statements following the Else are executed. |
Select-Case-EndSelect |
Executes one of several groups of statements, depending on the value of an expression. |
For-to-Next |
Repeats a block of statements a specified number of times forward. |
For-downto-Next |
Repeats a block of statements a specified number of times backward. |
Repeat-Until |
Executes statements repeatedly until a specified integer-exp is true (non-zero). |
While-EndWhile |
Executes statements repeatedly while the specified integer-exp is true (non-zero). |
Loop-EndLoop |
Executes several statements in an endless loop. |
Exitloop |
Terminates the smallest enclosing For, Loop, Repeat, or While statement in which it appears. |
Continue |
Passes control to the next iteration of the smallest enclosing For, Loop, Repeat, or While statement in which it appears. |
Run |
Runs an ATEasy program. The current program is aborted. |
Exit |
Terminates the current program and exits ATEasy. |
Task |
Performs an unconditional branch (out of the normal program sequence) to the specified Task number iTask and to the optional Test number iTest. |
ExitTask |
Exits the current Task. |
Test |
Performs an unconditional branch (out of the normal program sequence) to a specified Test iTest in the current running Task. |
ExitTest |
Exits the current Test. |
Retry |
Retries a non-fatal run-time (recoverable) error and resumes execution to the statement that caused the error. |
Ignore |
Ignores a non-fatal run-time (recoverable) error and resumes execution of the next statement. |
Pause |
Suspends program execution until resumed by the user. |
Abort |
Stops program execution. |
GoTo |
Performs an unconditional branch to the statement following the specified label. |