lua-users home
lua-l archive

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

>    Is there some reason for a Lua block not to return a value (the last

Because it complicates the language. Moreover, an expression is not a statement.
I think we'd need to mark it as a kind of return, something like

	a = do 
		= 7

but I don't think it's worth the trouble.