Re: proposal: state machine syntax also usable for continue / nested break
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: proposal: state machine syntax also usable for continue / nested break
- From: Enrico Colombini <erix@...>
- Date: 2011年1月28日 17:37:29 +0100
On 28/01/2011 17.20, Paul Hudson wrote:
Can we have computed go to? http://en.wikipedia.org/wiki/Goto#Computed_GOTO
(I am joking, but it would actually fit quite well with the current
proposal.
break (n) :label1: :label2:
anyone?)
Well, if break accepts a string... :-)
local somewhere = getRandomDestination()
break(somewhere)
--
Enrico