Sorry. I would expect the two to be different, but it is documented that they 
are the same.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Charles Mills [[email protected]]
Sent: Tuesday, February 2, 2021 2:40 PM
To: [email protected]
Subject: Re: Rexx stem variable question

> 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

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

Reply via email to