Sunday, 11 March 2018
COMAL (Common Algorithmic Language)
What made COMAL stand out was that it was available for 8-bit microcomputers in the late 1970s and early 1980s and was one of the few structured languages available for those computers.
COMAL is still used to this day as a teaching language, it was especially popular in Ireland in the 1980s where Apple supplied around five hundred Apple IIs running COMAL-80 to schools. Earlier versions of COMAL had no graphics commands but these were added later on especially to Commodore implementations of the language which included turtle graphics.
Now for some examples of COMAL, if you are familiar with languages like BASIC then COMAL will seem very familiar:
0010 PRINT "HELLO WORLD"
0010 INPUT AMOUNT
0020 PRINT "PLEASE PAY ", AMOUNT
0010 PRINT "HOW MANY TIMES?"
0020 INPUT TIMES
0030 FOR NO:=1 TO TIMES DO
0040 PRINT "HELLO NUMBER ", NO
0050 NEXT NO
 John Kelly, Foundations in Computer Studies with COMAL (2nd Edition) (Educational Company of Ireland, 1984) p. vii
 Borge R. Christensen, Beginning COMAL (Ellis Horwood, 1982) p. 6