GOTO-Statement, Loops, and BOOLEAN Variables

Günther Lamprecht · 1981

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.

Read the paper · More papers on PaperTik