Modula-2 pp 72-85 | Cite as

Other Control Statements

  • Daniel Thalmann


We now consider the scientific program of Fig. 8.1 which reads two experimental measures and performs certain computations on them. As it stands, this program could cause several problems for the user:
  1. 1)

    If there is an odd number of data points, an error will occur.

  2. 2)

    If m2 is less than mlim, the square root cannot be calculated.

  3. 3)

    If VSqrt is equal to vlim, division is impossible.



Case Statement Statement Sequence Lower Case Letter Exit Statement Repetitive Action 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 1985

Authors and Affiliations

  • Daniel Thalmann
    • 1
  1. 1.Département d’Informatique et Recherche OpérationnelleUniversité de MontréalMontréal (Quebec)Canada

Personalised recommendations