Positron Compiler Documentation

Stop

Source: Positron8 Compiler User Manual, PDF page 358

Syntax

Stop

Overview

Stop halts program execution by sending the microcontroller into an infinite loop.

Example

If A > 12 Then Stop
{ code data }

If variable A contains a value greater than 12 then stop program execution. code data will not be executed.

Notes

Although Stop halts the microcontroller in its tracks it does not prevent any code listed in the BASIC source after it from being compiled.

See also : End, Sleep, Snooze.