On Sat, 21 Jun 2025 14:02:18 -0400, Phil Smith III  wrote:

>For extra (perverse) fun, consider environments named ADDRESS or VALUE:
>
>address address
>  or
>address value(value)
>!
>
    address value expression
is ambiguous in BNF.  It can mean either:
    Issue the command "expression" in the environment named "value"
or:
    make the value of "expression" the new environment name.

However, REXX customarily applies "common sense" rules,
and makes VALUE a keyword.

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

Reply via email to