Re: [Oorexx-devel] Problem with an entry of RexxErrorCodes.h

2009-05-05 Thread Rony G. Flatscher

Mark Miesfeld wrote:
> On Tue, May 5, 2009 at 1:01 PM, Rony G. Flatscher
>  wrote:
>
>   
>> This statement does compile and work:
>>
>> context->RaiseException1(40900, context->String(msg));
>> 
>
> >From oorexxerrors.h:
>
> #define Rexx_Error_Incorrect_call_user_defined  40900
>   
Mark, that did the trick, thank you very much!

---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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Problem with an entry of RexxErrorCodes.h

2009-05-05 Thread Mark Miesfeld
On Tue, May 5, 2009 at 1:01 PM, Rony G. Flatscher
 wrote:

> This statement does compile and work:
>
> context->RaiseException1(40900, context->String(msg));

>From oorexxerrors.h:

#define Rexx_Error_Incorrect_call_user_defined  40900

--
Mark Miesfeld

--
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Problem with an entry of RexxErrorCodes.h

2009-05-05 Thread Mark Miesfeld
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
 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
> Oorexx-devel@lists.sourceforge.net
> 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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Problem with an entry of RexxErrorCodes.h

2009-05-05 Thread Rony G. Flatscher
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel