Re: "continue/next" for "loop"

From: Lutz Donnerhacke (lutz_at_iks-jena.de)
Date: 11/05/03


Date: Wed, 5 Nov 2003 18:05:38 +0000 (UTC)


* Charles Lindsey wrote:
> Yes, that is fine, and it is well-structured. But it is still not the most
> general case.

Of course. BTW, I found a transformation in the problem space which results
in a single if_statement in the nested loop.

> 3. There are just TWO acceptable forms of GOTO:
>
> 3a. The REPEATER
>
> This is a jump from the inside of one box to the START of some
> enclosing box (cutting through as many intermediate boxes as you wish).
>
> 3b. The COMPLETER
>
> This is a jump from the inside of one box to the END of some
> enclosing box (cutting through as many intermediate boxes as you wish).

Ada provides exit_statement for the completer, but misses an equivalent for
the repeater. Bad.



Relevant Pages

  • organizing
    ... I visited all my fabric the other weekend - turned out all the boxes, ... I have more wool than I remembered. ... I've got a table set up in the basement for cutting - just a flat door on ... it all looks so cheerful ...
    (alt.sewing)
  • Re: Sheetrocking question
    ... After they left, I noticed that they had sheetrocked over outlet boxes, ... and rotozipped around and in boxes, cutting the insulation of wiring in 6 ... sure it was right before heating up the wires. ... Problem is that they won't buy the router bits that go with the RotoZip, ...
    (alt.home.repair)
  • Re: Who published "Bandsaw boxes"?
    ... >> I saw a pdf a while back that had several plans and instructions on ... >> cutting out some really nice boxes from solid pieces of wood with a ...
    (rec.woodworking)
  • Changing a box on a report
    ... I have some lines on a FoxPro report that I have enclosed in boxes. ... the boxes simply extend the whole length of the line. ... is enclosing. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Changing a box on a report
    ... > I have some lines on a FoxPro report that I have enclosed in boxes. ... > is enclosing. ... i x dot n e t c o m dot c o m ...
    (microsoft.public.fox.programmer.exchange)