lua-users home
lua-l archive

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



In Lua, we favor generic and powerful constructs. Actually, a 'goto'
would be almost perfect.

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?)

Or if we can't have that, how about "COMEFROM" (http://en.wikipedia.org/wiki/COMEFROM)?

Paul