Category:ALGOL 68: Difference between revisions

m
main: ( ~ ) explaination.
m (Added language header)
m (main: ( ~ ) explaination.)
Line 17:
*Dec. 1968: Report on the Algorithmic Language ALGOL 68 - Offprint from Numerische Mathematik, 14, 79-218 (1969); Springer-Verlag. - Edited by: A. van Wijngaarden, B.J. Mailloux, J.E.L. Peck and C.H.A. Koster.
*Sep 1973: Revised Report on the Algorithmic Language Algol 68 - Springer-Verlag 1976 - Edited by: A. van Wijngaarden, B.J. Mailloux, J.E.L. Peck, C.H.A. Koster, M. Sintzoff, C.H. Lindsey, L.G.L.T. Meertens and R.G. Fisker.
== Code samples==
Most of the code samples provided here have a leading <code>main:(</code> and a matching <code<)</code> at the end. These are not actually required in the language, but are include to as to highlight that the code sample is complete, and works with (at least) Algol68g unmodified.
 
Example:
main:(
print(("Hello, world!",new line))
)
 
On some compilers it may be necessary to include appropriate "job cards" or precludes in order for the programs to compile successfully. Hopefully not to much else is required.