STOP
Stop the current program.
WebVue support - Yes.
Syntax
STOP();
There is no return value.
Execution
The current program is stopped.
The use of the instruction STOP is strongly discouraged and shall not be used to manage some form of function exit. The use of BREAK and RETURN must be favored.
A STOP is global to a program, it not only exits the function it is called from, but it also suspends the execution of all other functions and clear program-level variables. After a call to STOP, the program itself and all functions it includes are no longer viable until the program is reloaded and initialization performed.
If the STOP instruction is used in a function in the GLOBAL program, it is the program that called the function that is stopped.