ALGOL Programming Language Help For Students

ALGOL

ALGOL(Algorithm Language) is a High level language designed specifically for programming scientific computations. It was designed by international committee to be a universal language. ALGOL was mostly by research computer scientists in the united state and in Europe.

ALGOL PROPERTIES

ALGOL was the first language to combine seamlessly imperative effects with the (call-by-name) lambda calculus. ALGOL 60 allowed for two evaluation strategies for parameter passing: the call-by-value, it is impossible in ALGOL 60 to develop a procedure that will swap the values of two parameters if the actual parameters that are passed in are an integer variable and an array that is indexed by that same integer variable call-by-name. Call-by-name had certain limitation in contrast to call-by-reference, making it an undesirable feature in imperative language design.


Hello world! Example Program

BEGIN
FILE F (KIND=REMOTE);
EBCDIC ARRAY E [0:11];
REPLACE E BY "HELLO WORLD!";
WHILE TRUE DO
  BEGIN
  WRITE (F, *, E);
  END;
END.