[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: goto in expressions
- From: Bernd Eggink <monoped@...>
- Date: Tue, 16 Dec 2014 22:05:25 +0000
On 16.12.2014 19:57, Sean Conner wrote:
I don't know of any language that has GOTO as an expression, as the
semantics of an "expression GOTO" don't make any sense.
Well, it could mean "leave the value undefined and perform a goto".
In BCPL (anyone remember this?) you could use 'valof return' within an
expression to bail out of a function with a minimum of writing. It was a
popular trick at that time.
Greetings,
Bernd
--
http://sudrala.de