From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-20T08:08:58+09:00 Subject: Re: rb_protect question On Mon, 19 May 2003 19:52:43 +0000, Ben Thomas wrote: > The last parameter or rb_protect is 'result', and return non-zero if an > error occurs. Someone know where I can find definitions for those error > number? In my current code, it currently returns 6 and I just don't know > what to-do with it. Looking in 'eval.c' #define TAG_RETURN 0x1 #define TAG_BREAK 0x2 #define TAG_NEXT 0x3 #define TAG_RETRY 0x4 #define TAG_REDO 0x5 #define TAG_RAISE 0x6 #define TAG_THROW 0x7 #define TAG_FATAL 0x8 #define TAG_MASK 0xf see this tutorial for further info about 'rb_protect' and what to do in case of an error. http://metaeditor.sf.net/embed/ -- Simon Strandgaard