RosettaCodeData/Task/Exceptions/Forth/exceptions-1.fth

3 lines
96 B
Forth
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
: f ( -- ) 1 throw ." f " ; \ will throw a "1"
: g ( -- ) 0 throw ." g " ; \ does not throw