I was hoping ooRexx addressed that, but I don't see an ADDRESS (env-expr) 
option, although it does have the ANSI option WITH.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר




________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Saturday, June 21, 2025 7:16 PM
To: [email protected] <[email protected]>
Subject: Re: REXX say


External Message: Use Caution


On Sat, 21 Jun 2025 20:12:32 +0000, Seymour J Metz  wrote:

>While there's no ambiguity, using VALUE or WITH as a variable name is 
>definitely bad form.
>
>FWIW, I prefer the more verbose keyword(values) syntax of PL/I.
>
I was wishing for an instruction form in which I could issue a single
command to an environment expression in a single REXX instruction.
I imagined I could do this  as:
     ADDRESS ( expression ) [command]

I i can still do this with poorer syntax checking as:
    interpret 'ADDRESS '''||(expression)''' '''command''''

provided ( expression ) evaluates to a single symbol.

_______________________________________
>From:  Paul Gilmartin
>Sent: Saturday, June 21, 2025 3:57 PM
>    .....
>If I had been emperor of the REXX Universe, I would have
>provided only two forms:
>    ADDRESS symbol [command]
>and
>    ADDRESS ( expression ) [command]

--
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to