ALGO


ALGO is an algebraic programming language developed for the Bendix G-15 computer.
ALGO was one of several programming languages inspired by the Preliminary Report on the International Algorithmic Language written in Zürich in 1958. This report underwent several modifications before becoming the Revised Report on which most ALGOL implementations are based. As a result, ALGO and other early ALGOL-related languages have a very different syntax from ALGOL 60.

Example

Here is the Trabb Pardo – Knuth algorithm in ALGO:
line highlight="1-5,9,10">
TITLE TRABB PARDO-KNUTH ALGORITHM
SUBSCript I,J
DATA A
FORMAt FI, FLARGE
PROCEDURE F
BEGIN
Z=SQRT+5*T^3
END
FOR I=010
A=KEYBD
FOR J=010 BEGIN
I=J-10
F
PRINT=I
IF Y > 400
GO TO LARGE
PRINT=Y
GO TO NEXT
LARGE: PRINT=999
NEXT: CARR END
2END

Remarks