Restart Statement Definition
Previous Topic  Next Topic 

The restart_statement causes all variables to be cleared (set to “”) and the program is restarted (i.e. control is returned to the top of the main…endmain block).     Other side effects may occur when this keyword is encountered since it is equivalent to the task being killed and then restarted again with the same Task ID (for example some DLL function libraries carry out certain actions (like releasing resources) when a task is killed).


The syntax of the restart statement is as follows:


restart ;