ON ERROR

        [SIC\]ON ERROR [Command]

    This command changes the current error recovery action.

    By  default, a PAUSE is automatically generated by any error during exe-
    cution. Without argument, ON ERROR resets to this default. Use  the  SIC
    command (without argument) to display the current ON ERROR status.

    The  error recovery can be changed and any other valid command line Com-
    mand can be activated instead of PAUSE when an error occurs,  using  the
    command ON ERROR Command. A very useful error recovery command for loops
    is NEXT, which enables skipping the remaining commands of the loop  when
    something  went  wrong,  and resumes the loop at for the following index
    value.

    Note that the ON ERROR command does not affect  the  behaviour  on  <^C>
    trapping,  which  always  returns  a PAUSE. The ON ERROR command is only
    valid within the procedure which declared it.