Library /sys$common/syshlp/TPUHELP.HLB  —  LEARN_ABORT
  LEARN_ABORT

     Causes a learn sequence being replayed to stop.

  Syntax

     [integer] := LEARN_ABORT

  Parameters

     None

  Comments

     The integer returned indicates whether a learn sequence was aborted.
     The built-in returns 1 if a learn sequence was being replayed, 0
     otherwise.

  Example

     In the following error handler, if an error occurs, any executing learn
     sequences are aborted.

     ON_ERROR
         MESSAGE ("Aborting command because of error.");
         LEARN_ABORT;
         ABORT;
     ENDON_ERROR;

  Related Topics

     ABORT
Close Help