To complement: MS-DOS .bat had both conditional logic (errorlevel) and
loop (for)
I can't remember dates, but AFAIR conditional logic was introduced with
MS-DOS v6.00 and probably the loop already was there.
For sure I was using the loops and conditionals on Win95. Does it
qualify as MS-DOS? Actually I don't care. ;-)
--
Radoslaw Skorupka
Lodz, Poland
W dniu 12.11.2024 o 15:33, Rick Troth pisze:
MS-DOS batch does have conditional logic.
I was going to chime in that a "programming language" must have at
least that: conditional logic.
Phil initially asked if looping is required, but conditional logic
along with branching quickly gives us looping.
IT MAY BE that to qualify as a "scripting language" does not require
conditional logic.
Until this thought, I would have considered any scripting language to
also be a "programming language".
As it is, all scripting languages that I know of (including CLIST) are
also programming languages.
-- R; <><
On 11/11/24 2:13 PM, Phil Smith III wrote:
I don't remember either, but I do remember that Relay had "Beyond
.bat", a .bat-like language that did a lot more, used for Relay/Gold
emulator scripting. That suggests that it was pretty weak. Doesn't
mean anything you said isn't right, of course. (And I'm NOT sorry
that I don't remember those details--best forgotten!)
-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
Behalf Of Seymour J Metz
Sent: Monday, November 11, 2024 2:11 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What is a "programming language"? Was:: Modifying JCL on
the fly
My recollection is that BAT had conditional logic since the original
PC-DOS; I don't recall what it was like in CP/M. CLIST, OTOH, became
a programming language in OS/VS3 3.8, as I recall. I may check
bitsavers on that last.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN