contents.gifprev1.gifnext1.gif

LEARN_ABORT

Description:

LEARN_ABORT terminates the replay of a learn sequence. An integer value of 1 is returned if a learn sequence was in progress. Normally the LEARN_ABORT built-in is used within ON_ERROR statements to halt runaway commands.

Syntax:

[ integer :=] LEARN_ABORT

Example:

ON_ERROR

MESSAGE ("Terminate learn due to error.");

LEARN_ABORT;

RETURN;

ENDON_ERROR

Related Builtins:

LEARN_BEGIN

LEARN_END