Re: [Oorexx-devel] What to return after a context->RaiseException from an external Rexx function ?

2017-02-15 Thread Rony G. Flatscher
On 15.02.2017 16:01, Rick McGuire wrote: > Because you've raised an exception, any return value is ignored, so it > doesn't make any difference. Great, thank you very much! ---rony > > > On Wed, Feb 15, 2017 at 9:58 AM, Rony G. Flatscher

Re: [Oorexx-devel] What to return after a context->RaiseException from an external Rexx function ?

2017-02-15 Thread Rick McGuire
Because you've raised an exception, any return value is ignored, so it doesn't make any difference. Rick On Wed, Feb 15, 2017 at 9:58 AM, Rony G. Flatscher wrote: > Just wondering: what should one return from an external Rexx function in > which a

[Oorexx-devel] What to return after a context->RaiseException from an external Rexx function ?

2017-02-15 Thread Rony G. Flatscher
Just wondering: what should one return from an external Rexx function in which a context->RaiseException() was called? E.g. ... cut ... context->RaiseException(Rexx_Error_Incorrect_call_user_defined, ra); context->ReleaseLocalReference(ra); return NULL; ... cut ... Returning