ALGO

ALGO

ALGO is an algebraic programming language developed between 1959 and 1961 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 "ALGOLs" have a very different syntax from ALGOL 60.

Other languages developed from the Zürich report include BALGOL, MAD (Michigan Algorithm Decoder) and NELIAC.

Example

Here is the Trabb Pardo-Knuth algorithm in ALGO:

1. TITLE TRABB PARDO-KNUTH ALGORITHM2. SUBSCript I,J3. DATA A(11)4. FORMAt FI(2DT), FLARGE(3D)5. PROCEdure F(T=Z)6. BEGIN7. Z=SQRT(ABS(T))+5*T^38. END9. FOR I=0(1)1010. A [I] =KEYBD11. FOR J=0(1)10 BEGIN11. I=J-1012. F(A [I] =Y)13. PRINT(FI)=I14. IF Y > 40015. GO TO LARGE16. PRINT(FL)=Y17. GO TO NEXT18. LARGE: PRINT(FLARGE)=99919. NEXT: CARR(1) END20. END

Remarks

* 1. A title is the only type of comment allowed. Line numbers were inserted by the editor.
* 2. Integer data type. The lower-case letters are not typos, but reflect the way in which ALGO code was presented in the original documentation.
* 3. Only the size of an array can be specified, lower bound is always zero.
* 4. The first format calls for a two-digit number followed by a tab, the second for a three digit number.
* 5. The syntax of ALGO's procedure implementations is slightly different from that given in the Zurich report. Functions as defined by the Zürich report are not implemented.
* 9. The syntax here is from the Zürich report and is also consistent with various 1950s-era autocodes.
* 10. KEYBD reads a numeric value from the terminal.

See also

* ALGOL 58
* ALGOL 60

External links

* [http://www.piercefuller.com/collect/bendix/algo6008.pdf ALGO manual (PDF)]
* [http://members.iinet.net.au/~dgreen/docs.html Other documents on ALGO and the G-15]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • algo — (carece de plural) pronombre indefinido 1. Indica indeterminación al sustituir al nombre de una cosa cualquiera. Observaciones: Se usa, normalmente, en enunciados afirmativos. En enunciados negativos sólo corrige o rechaza lo dicho anteriormente… …   Diccionario Salamanca de la Lengua Española

  • algo — (Del lat. alĭquod). 1. pron. indef. n. Designa lo que no se quiere o no se puede nombrar. Leeré algo mientras vuelves. [m6]Aquí hay algo que no comprendo. 2. Denota cantidad indeterminada, grande o pequeña, especialmente lo segundo, considerada a …   Diccionario de la lengua española

  • Algo de ti — «Algo De Ti» Sencillo de Paulina Rubio del álbum Gran City Pop Formato Descarga digital CD Single Maxi single Grabación 2008 …   Wikipedia Español

  • Algo — Saltar a navegación, búsqueda Forma abstracta de nombrar cualquier cosa. Palabra del idioma español que no significa nada, señala o apunta hacia un nominable con total indefinición. Es la máxima expresión de vaguedad. Viene a ser sinónimo de cosa …   Wikipedia Español

  • algo — 1 Element prim de compunere savantă cu semnificaţia (referitor la) durere , dureros . [< fr. algo , cf. gr. algos]. Trimis de LauraGellner, 27.10.2004. Sursa: DN  ALGO 2 Element prim de compunere savantă cu sensul de algă . [< lat. alga].… …   Dicționar Român

  • algo — pron. indef. 1. Alguma coisa. • adv. 2. Um pouco, algum tanto …   Dicionário da Língua Portuguesa

  • algo- — [al′gō, al′gə] combining form [< Gr algos, pain] pain [algometer]: also algio [al′jē ō] …   English World dictionary

  • algo — (Del lat. aliquod.) ► pronombre indefinido 1 Indica acción, objeto o idea indeterminada: ■ me ha ocurrido algo terrible; necesito algo de color verde; piensa en algo distinto. ¿hacemos algo? IRREG. sólo en sing. 2 Expresa cantidad reducida, pero… …   Enciclopedia Universal

  • algo — {{#}}{{LM A01683}}{{〓}} {{[}}algo{{]}} ‹al·go› {{《}}▍ pron.indef.{{》}} {{<}}1{{>}} Designa una cosa, sin decir exactamente qué es: • Tenemos que hacer algo, aunque no sé qué. ¿Por qué no comes algo?{{○}} {{<}}2{{>}} Cantidad indeterminada: • ¿Me… …   Diccionario de uso del español actual con sinónimos y antónimos

  • algo — 1 pron Lo que sea, lo que haya, una o cualquier cosa: Dale algo que le ayude , Me sucedió algo bueno 2 Algo de Parte o un poco de cierta cosa: algo de pan, algo de esfuerzo, algo de tiempo 3 adv Un poco: Está algo mejor , Me siento algo cansado 4 …   Español en México

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”