On Sat, 19 Jun 2021 23:59:21 -0400, Roger W Suhr wrote:
>
>😃  I didn't look out for the indenting, sorry.  I used <tabs> on one line, but 
>not on the other, but recently I started to add comments to the "END" 
>statement in more complex code, to help with clarity:
>
>if fx then  do
>       ntim=ntim+1
>       end    /* if fx then  do */
>else  do
>       nres=nres+1
>       end    /* else do - if fx then  do */
>
In Rexx, I never use such a comment to match DO and END.
Rather, I name a control variable on ITERATE, LEAVE, and END.
Then the interpreter verifies the matching.

-- gil

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