Yes to both. I rarely use ==, has = almost always has the semantics I want.
-- 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: Thursday, April 6, 2023 12:07 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX/COBOL conversion question On Thu, 6 Apr 2023 15:04:19 +0000, Seymour J Metz wrote: >A compare using = adds trailing blanks; use == if you need an exact match. > Trailing and/or leading. "=" has a very lenient criterion of numeric equality: "say 2 = ' 200e-2 '" 1 "==" gives better performance (empirically). -- 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