3 ms·
Common Lisp has a "condition system" that can do that (and with call/cc you can build it yourself in e.g. scheme). GWBASIC of old had an "on error goto / on er
by beagle3 15y ago
Common Lisp has a "condition system" that can do that (and with call/cc you can build it yourself in e.g. scheme).
GWBASIC of old had an "on error goto / on error gosub" that could branch to another part of the code on exception, and that part of code could always "resume" -- although there weren't any user defined exceptions, so it's not quite equivalent (and the scope of the "on error" handler was usually smaller than global)