Regularity
From Maze
(Difference between revisions)
(pre tags) | (→"Go To Statement Considered Harmful") | ||
| Line 71: | Line 71: | ||
Unlike the previous version where lines 5 and 10 were only implied to be a block, lines 1-15 are now explicitly a block of code defined as a FOR loop. NEXT relies on FOR, but since the block was re-entered on line 5 FOR never executes and NEXT is no longer valid. | Unlike the previous version where lines 5 and 10 were only implied to be a block, lines 1-15 are now explicitly a block of code defined as a FOR loop. NEXT relies on FOR, but since the block was re-entered on line 5 FOR never executes and NEXT is no longer valid. | ||
| + | (tk may be clearer with diagram?) | ||
| + | |||
===Structured programming=== | ===Structured programming=== | ||
===OOP=== | ===OOP=== | ||
