25.11.2014 Views

Algorithms and Data Structures

Algorithms and Data Structures

Algorithms and Data Structures

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

N.Wirth. <strong>Algorithms</strong> <strong>and</strong> <strong>Data</strong> <strong>Structures</strong>. Oberon version 211<br />

LOOP IF logical expression THEN<br />

operator sequence<br />

{ELSIF logical expression THEN<br />

operator sequence}<br />

ELSE EXIT END END.<br />

In other languages the construct may be more cumbersome, but that is offset by the simplification of<br />

construction <strong>and</strong> debugging of complicated loops.<br />

References<br />

[C.1] E.W. Dijkstra. A Discipline of Programming. Prentice-Hall, 1976.<br />

[C.2] D. Gries. The Science of Programming. Springer-Verlag, 1981.<br />

[C.3] N. Wirth. The Programming Language Oberon. Revision 1.9.2007.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!