Re: "continue/next" for "loop"
From: Lutz Donnerhacke (lutz_at_iks-jena.de)
Date: 11/05/03
- Next message: Andreas Almroth: "Re: gcc/gnat 3.3"
- Previous message: Adam Beneschan: "Re: Problem With Self-Referential Access-to-Subprogram Type"
- In reply to: Charles Lindsey: "Re: "continue/next" for "loop""
- Next in thread: Martin Dowie: "Re: "continue/next" for "loop""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Andreas Almroth: "Re: gcc/gnat 3.3"
- Previous message: Adam Beneschan: "Re: Problem With Self-Referential Access-to-Subprogram Type"
- In reply to: Charles Lindsey: "Re: "continue/next" for "loop""
- Next in thread: Martin Dowie: "Re: "continue/next" for "loop""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|