On Error


Specifies how to do when an error occurs. Without an On Error action, any error will cause the execution stops.

Parameters

  • When an error occurs Specifies how to do when an error occurs. It can be one of the following:

    • Stop playback
    • Ignore the error and continue
    • Goto

  • Beep when an error occurs Specifies whether to alarm the user when an error occurs during playback.

  • Play an audio file Specifies a wav file to play instead of the simple tones on the speaker.

Notes

  • This instruction can only affect the subsequent steps.