Regularity

From Maze

(Difference between revisions)
Jump to: navigation, search
(→"Go To Statement Considered Harmful")
(copy/paste error)
Line 69:Line 69:
<pre>? NEXT WITHOUT FOR ERROR IN 15</pre>
<pre>? NEXT WITHOUT FOR ERROR IN 15</pre>
−
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. Using GOTO has short-circuited the other flow control structures that are critical to the language.
(tk may be clearer with diagram?)
(tk may be clearer with diagram?)

Revision as of 21:07, 21 February 2011

View this revision of Regularity.

Personal tools