COMAL

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
COMAL
Paradigm structured
Appeared in 1973
Designed by Benedict Løfstedt and Børge Christensen
Typing discipline strong
Influenced by BASIC, Pascal

COMAL (Common Algorithmic Language) is a computer programming language developed in Denmark by Benedict Løfstedt and Børge Christensen in 1973.

The "COMAL 80 PROGRAMMING LANGUAGE REPORT" contains the formal definition of the language.

Contents

[edit] Design

COMAL was actually created as a mixture of the prevalent educational programming languages of the time, BASIC and Pascal, and was meant to introduce structured programming elements in an environment where BASIC would normally be used.

[edit] History

In the early 1980s, Apple Computer won a contract to supply Apple II computers running CP/M and COMAL to Irish secondary schools.

In 1990 Thomas Lundy and Rory O'Sullivan produced the definitive text on COMAL Programming.[citation needed] They matched and compared COMAL with BBC Structured Basic.

[edit] Availability

COMAL is available for:

[edit] Examples

Conditions:

IF condition THEN
  instructions
ENDIF

Loops:

FOR number:= 1 TO 1000 DO   
 PRINT number
ENDFOR

[edit] Example program

10 PAGE
20 FOR number:= 1 TO 10 DO
30  PRINT "THIS IS JUST AN EXAMPLE"
40 ENDFOR
50 END " "

[edit] External links

da:COMAL

de:COMAL es:COMAL it:COMAL no:COMAL pl:Comal sv:Comal

Personal tools

Served in 0.487 secs.