There are a lot of things that I'd change if I were doing it from scratch. But 
I'd keep some things that have come under attack.

Or, going back farther, I'd change some thing in PL/I, e.g., retain the ALGOL 
60 distinction between assignment and equality.

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



________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, January 14, 2025 5:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF edit macro to sort and delete duplicate records

External Message: Use Caution


On Tue, 14 Jan 2025 19:26:00 +0000, Seymour J Metz  wrote:

>NUMERIC DIGITS
>
I prefer ==.
o No need to chose the right DIGITS value.
o Fewer CPU cycles.

As always, it depends on the specification of the problem.

If I were designing REXX from the start, I'd swap the meanings of "=" and "==".

More intuitive -- things that look the same would compare as same.

>________________________________________
>From:  Paul Gilmartin
>Sent: Tuesday, January 14, 2025 2:11 PM>
>
>On Tue, 14 Jan 2025 18:47:35 +0000, Schmitt, Michael wrote:
>>
>>Fun fact: just last week I found a bug! The macros considered lines with 
>>these two keys to be duplicate lines:
>>
>>7475269191210720
>>7475269191211080
>>
>>REXX mavens will know why. I've fixed that bug.
>>
>Was the fix to replace "=" with "=="?

--
gil

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


----------------------------------------------------------------------
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