Rony, You need to use the error message numbers from: oorexxerrors.h.
-- Mark Miesfeld On Tue, May 5, 2009 at 1:01 PM, Rony G. Flatscher <[email protected]> wrote: > The following code does not compile: > > context->RaiseException1(Error_Incorrect_call_user_defined, > context->String(msg)); > ... error mesage: > BSF4Rexx.cc(2645) : error C2065: 'Error_Incorrect_call_user_defined' : > undeclared identifier > > > The identifier 'Error_Incorrect_call_user_defined' was located in and copied > directly from "interpreter/messages/RexxErrorCodes.h". > > This statement does compile and work: > > context->RaiseException1(40900, context->String(msg)); > > What may I be doing wrongly? > > --- > > BTW: this is a *great* way to tell the user more about errors, allowing them > to locate and fix their wrong code much easier than was possible before > (with the old APIs)! > > ---rony > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
