HALT
(Statement)

Stops executing a program.

HALT <Message>

This statement stops program execution and outputs the contents designated by <Message> to the pendant. For contents of <Message>, refer to the PRINTMSG statement.
If you restart the system, the system starts the program from the first line.
The maximum number of letters available for a message is 60.

If you use a type F variable and a type D variable, the screen shows only 4 digits after the decimal point.

DEFINT li1, li2
|
|
HALT li1 + li2
|
'Stops the program and outputs the
'value of (li1 + li2) to the pendant.
|
HALT "end"
|
'Stops the program and outputs the
'character string "end" to the pendant.
|