AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.1.16 Restart
General Information
Type Statement
Description Causes program execution to begin again from the beginning of the program.
Units N/A
Range N/A
Default
Value
N/A
Data Type N/A
Start Version TBD
Description
Causes program execution to begin again from the beginning of the program. Restart is the only
way to exit from an Error Handler routine. Any interrupts, WHEN statements or loops in prog-
ress will be aborted. If the RESTART statement is used to exit from a user error handler then an
infinite loop will occur if the error condition is not cleared.
Note: RESTART does not clear the user program variables or by itself change any program var-
iables, any predefined variables or have any effect on motor motion.
Related Topics
MOVE.ABORT | On Error GoTo
Kollmorgenâ„¢ | March 30, 2012 114