Program structure

In chapter 1, it was mentioned that the basic structure of an Algol 68 program consists of

   BEGIN
      phrases
   END

This is not strictly true. It is quite possible to write a program consisting solely of a DO loop! For example:

   PROGRAM dosum
   USE standard
   FOR i TO 5
   DO
      print((i**2,newline))
   OD
   FINISH

Sian Mountbatten 2012-01-19