A Control Structure for a Variable Number of Nested Loops

E. Skordalakis, G. Papakonstantinou · The Computer Journal · 1982

A new program control structure is proposed in this paper which is suitable for expressing a variable number of nested loops. This control structure is useful in combinatorial problems and in problems requiring backtracking. Implementation details are discussed and some illustrative examples are given which employ this new program control structure. The incorporation of this control structure in contemporary programming languages will considerably enhance them, particularly languages like FORTRAN, BASIC, and assembly.

Read the paper · More papers on PaperTik