Re: [Oorexx-devel] Native API methods with no return value?

2008-07-23 Thread Rick McGuire
If you want to return nothing, then declare the return type as RexxObjectPtr and return NULLOBJECT. This will only raise an error if the method is used in an expression context. For example, say x~'STATE='(1) Would return raise an error, but x~state=1 would not. A VOID return type just

Re: [Oorexx-devel] Native API methods with no return value?

2008-07-23 Thread Mark Miesfeld
On Wed, Jul 23, 2008 at 10:39 AM, Rick McGuire [EMAIL PROTECTED] wrote: If you want to return nothing, then declare the return type as RexxObjectPtr and return NULLOBJECT. I think that works well. Your idea of having a type like NORETURNVALUE is good, and I was wondering if you had something