Here's one example: http://www.fensende.com/~mcuddy/ltn/luapp.html Although it's lua 4.x, it shouldn't be much trouble to modify it for lua 5.x. -Kevin > -----Original Message----- > From: lua-bounces@bazar2.conectiva.com.br > [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of D Burgess > Sent: Friday, January 02, 2004 12:00 AM > To: Lua list > Subject: Exceptions > > > Would anyone like to share the code for replacing > setjmp/longjmp with C++ exceptions or Win32 structured > exception handling? > > David B > > >