ALGO: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>ClueBot NG
m Reverting possible vandalism by 181.238.65.206 to version by Zomno. Report False Positive? Thanks, ClueBot NG. (4342280) (Bot)
 
imported>Vt320
m Example: fix case
 
Line 19: Line 19:
'''ALGO''' is an [[algebra]]ic [[programming language]] developed for the [[Bendix G-15]] [[computer]].<ref>{{cite web |url=http://members.iinet.net.au/~dgreen/docs.html |title=The Bendix G-15 General Purpose Digital Computer System |url-status=dead |archive-url=https://web.archive.org/web/20041204060928/http://members.iinet.net.au/~dgreen/docs.html |archive-date=4 December 2004 |access-date=10 July 2020}}</ref>
'''ALGO''' is an [[algebra]]ic [[programming language]] developed for the [[Bendix G-15]] [[computer]].<ref>{{cite web |url=http://members.iinet.net.au/~dgreen/docs.html |title=The Bendix G-15 General Purpose Digital Computer System |url-status=dead |archive-url=https://web.archive.org/web/20041204060928/http://members.iinet.net.au/~dgreen/docs.html |archive-date=4 December 2004 |access-date=10 July 2020}}</ref>


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]].
ALGO was one of several programming languages inspired by the ''Preliminary Report on the International Algorithmic Language'' written in [[Zurich|Zürich]] in 1958. This report underwent several modifications before becoming the Revised Report on which most [[ALGOL]] [[Implementation|implementations]] are based. As a result, ALGO and other early ALGOL-related languages have a very different [[Syntax (programming languages)|syntax]] from [[ALGOL 60]].


== Example ==
== Example ==
Line 28: Line 28:
SUBSCript I,J
SUBSCript I,J
DATA A(11)
DATA A(11)
FORMAt FI(2DT), FLARGE(3D)
FORMAT FI(2DT), FLARGE(3D)
PROCEDURE F(T=Z)
PROCEDURE F(T=Z)
BEGIN
BEGIN

Latest revision as of 23:12, 14 December 2025

Template:Short description Script error: No such module "about". Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".

ALGO is an algebraic programming language developed for the Bendix G-15 computer.[1]

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:

TITLE TRABB PARDO-KNUTH ALGORITHM
SUBSCript I,J
DATA A(11)
FORMAT FI(2DT), FLARGE(3D)
PROCEDURE F(T=Z)
BEGIN
Z=SQRT(ABS(T))+5*T^3
END
FOR I=0(1)10
A[I]=KEYBD
FOR J=0(1)10 BEGIN
I=J-10
F(A[I]=Y)
PRINT(FI)=I
IF Y > 400
GO TO LARGE
PRINT(FL)=Y
GO TO NEXT
LARGE: PRINT(FLARGE)=999
NEXT: CARR(1) END
2END

Remarks

Template:Ordered list

See also

Template:Sister project

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

External links

Template:ALGOL programming