Questions tagged [cobol]
10 questions
19
votes
4 answers
Did COBOL have an English-like "or" operator?
This answer made me wonder:
Did COBOL also handle that other newbie mistake, allowing one to write
if a == 'orange' or 'apple' or 'banana'
instead of
if a == 'orange' or a == 'apple' or a == 'banana'
(or using some set membership operator if your…
Ture Pålsson
- 293
- 2
- 5