Or DTL.

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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Steve Thompson [ste...@copper.net]
Sent: Sunday, June 7, 2020 4:45 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: COBOL Question

Don’t forget the SKELETON language.

Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct 
mistaks


> On Jun 7, 2020, at 4:30 PM, Seymour J Metz <sme...@gmu.edu> wrote:
>
>  1. ISPF is not a language.If you are referring to panel definition 
> statements,
>     ELSE uses indentation to control scope. Python does the same thing. I
>     don't like it, but it is what it is.
>
> 2. SO/END blocks containing only a single statement are useful if you
>     may be adding code in the future. It's a stylistic issue about which
>     you will never achieve consensus.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Bob Bridges [robhbrid...@gmail.com]
> Sent: Sunday, June 7, 2020 2:35 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: COBOL Question
>
> The only language I can think of off-hand that doesn't require some sort of 
> END to close a DO (I'm sure there are others) is ISPF.  But, in REXX at 
> least, I never use single-statement DOs.  I see them all the time, and I 
> don't get it.  Like this:
>
>  if x=0 then do
>    x=x+1
>  end
>
> Or, more painfully:
>
>  select
>    when idx="T" then
>      do
>        countt=countt+1
>      end
>    when idx="U" then
>      do
>        countu=countu+1

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