Exception Functions

Prev Next

Introduction

Exception functions include the following:

  • pause: Pauses program execution. User can choose whether to continue or stop running
  • stop: Progam execution stops entirely
  • end: Current program ends. If called by a superior program, then the superior program continues running.
  • exit: Exit program execution
  • abort: Exit program execution
  • throw: Skips following code until catch or catch if is encountered. Values thrown are referred as frisbees.
  • catch: Arrival point for frisbees thrown. Execution continues here with the values picked up
  • catch if : The frisbee will only be caught if the value matches with the condition expression specified. Otherwise the frisbee keeps flying.
  • interactive: Enters interactive mode so you can inspect variables, tables, and do other works interactively. Type return to continue program execution.
  • null: Null function. Does nothing, returns void value. Suitable as placeholder function calls.