I have noted that C++ exceptions (Exception(a), where a is any piece
of data) can be used to implement dynamic versions of C++ constructs
such as ``return'' and ``break'' (because I have done it).
So exceptions are certainly more general than function returns, at
least in this context.
The Scheme community wrote about these issues 15-20 years ago or
so... Guy Steele's "Lambda the Ultimate...", etc. and some papers from
Friedman, Wand, et al. at Indiana.
--
Patrick Logan mailto:[EMAIL PROTECTED]
Voice 503-533-3365 Fax 503-629-8556
Gemstone Systems, Inc http://www.gemstone.com