> naively I would expect value('AAA.bbb') and value('AAA.BBB'),
> but that is neither how it is documented nor how it works.
Is a word missing in there?
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Seymour J Metz
Sent: Tuesday, February 2, 2021 11:17 AM
To: [email protected]
Subject: Re: Rexx stem variable question
The behavior of value() is confusing in that it violates the law of least
astonishment; naively I would expect value('AAA.bbb') and value('AAA.BBB'),
but that is neither how it is documented nor how it works.
In OOREXX a trailing period is enough to designate a stem. However, if you
want a stem variable whose name does not end in a period, then you need to
explicitly initialize it.
OOREXX does have enumerators.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN