On Thu, 20 Apr 2017 12:49:26 +0200, R.S. wrote:

>W dniu 2017-04-19 o 22:54, Paul Gilmartin pisze:
>> [...]
>> I believe "ADDRESS ISREDIT END" must appear *** inside nestmac ***.
>
>That's bad, because I want to call existing macros with no changes
>inside. Otherwise I would need two flavours of every macro: for
>"standalone" use and for "nested" (all members) use.
> 
I was afraid of that.  How about a wrapper macro:

    /* Rexx */ signal on novalue
    address ISREDIT  /* Why isn't this the default for Macros!?  */
    macro (X)
    parse var X Target_Macro Target_Args
    Target_Macro Target_Args  /* (Or just X?)  */
    'END'  /* (But CANCEL if SESSION is VIEW?)  */

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to