lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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.