Stop

This context command is used to stop execution of repeat structures (repeat N times, while true, do while) and multiple choice. It can only be used in these contexts, any other use is invalid.


Fig. 1. Example of use of stop command.

The example above perform an iteration of i from 0 to n-1, if n is bigger then 5, the the command stop will be executed when i has value 5. In this case, when the variable i has the value 5, the message I found the value 5. Stop! will be printed and the loop repeat while is interrupted.