Advertisement

GOTO-Statement, Loops, and BOOLEAN Variables

  • Günther Lamprecht

Abstract

All the programing examples quoted up to now had a very simple structure: after the declaration of the variables used, one or more values were calculated and printed. Then the program could be terminated. However, the advantage of a computer does not come into play before we can handle branches, depending on values Just calculated. This technique includes the repeated passing through parts of the program (‘loops’). In this chapter, we want to describe different forms of loops made possible by SIMULA. The different forms will be pointed out by solving the following problem.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Fachmedien Wiesbaden 1981

Authors and Affiliations

  • Günther Lamprecht
    • 1
  1. 1.BremenDeutschland

Personalised recommendations