Forth Easy · Lesson 4

Exceptions: THROW and CATCH

Protect a call with catch, signal failure with throw, and branch on the thrown code without unwinding by hand.

Lessons · Forth Easy · Lesson 4 of 10

Exceptions: THROW and CATCH

Protect a call with catch, signal failure with throw, and branch on the thrown code without unwinding by hand.

Illustration for Forth
Protect a call with catch, signal failure with throw, and branch on the thrown code without unwinding by hand.