[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: continue continued, with break N
- From: Nilson <nilson.brazil@...>
- Date: Sat, 20 Nov 2010 09:06:34 -0200
On Sat, Nov 20, 2010 at 8:54 AM, Nilson <nilson.brazil@gmail.com> wrote:
> What about "tagged blocks" as an alternative to goto. (similar to Ada exit)?
> You can use with any command that creates a block - if, while, repeat,
> for, do or even a function.
> and with the end to inform the compiler what it closes (avoids
> inconsistent end comments) .
>
Or perhaps instead of "tagged block" a "named block" that could be
used with functions too.
function :name SyntacticalSugarName ()
end :name
We could introduce real named functions in a orthogonal way.
--
Nilson