Category:ALGOL 68: Difference between revisions

m
→‎Code samples: Grammarfied
m (main: ( ~ ) explaination.)
m (→‎Code samples: Grammarfied)
Line 18:
*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 includeincluded toso as to highlight that the code sample is complete, and works with (at least) Algol68g unmodified.
 
Example:
Line 25:
)
 
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.
Anonymous user