Hi Bob,
When I programmed PL/I 40+ year ago, lining up the END; with the body was de rigeur. Initially, of course, that was using cards. When ISPF (or XEDIT) came along, lining up the END: with DO/SELECT etc. made a lot more sense since excluded lines could be shown by column number containing DO/END/SELECT etc.
(This made debugging easier.)

Regards,
David

On 2022-06-29 10:07, Bob Bridges wrote:
You're kidding, right?  That convention isn't imposed by REXX, and as far as 
I've observed Lionel and I are two of only three people in the universe who 
prefer it.

(And don't you be knocking our convention.  Aligning the END with the rest of 
the paragraph is much more sensible than sticking it out in the wrong place, 
much easier to understand, as all right-thinking programmers understand - all 
three of us.)

---
Bob Bridges, [email protected], cell 336 382-7313

/* Translating algorithms won't be really reliable for a while longer in a language in 
which we can say "time flies like an arrow; fruit flies like a banana". */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
David Crayford
Sent: Wednesday, June 29, 2022 08:19

....I really wish the "end" scope terminater would match the "do" column 
alignment. It's just another reason for me to hate on REXX when it's become common practice to uses 
bizarre formatting rules.

--- On 29/06/2022 8:12 pm, Lionel B. Dyck wrote:
x = bpxwunix('find /u/user/work/',,out.,err.) do I = 1 to out.0
     say out.i
     end
----------------------------------------------------------------------
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