Re: Replacing the "if" statement with an "if" expression which supersedes it

"'Scott Morgan' via lua-l" <[email protected]> Fri, 26 Jun 2026 15:34:49 +0100
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
On 26/06/2026 14:42, 'Sewbacca' via lua-l wrote:
> If Lua went down that road I would also want those semantics for the 
> do ... end block as well,
I'll +1 that. Been a few times when I've wanted to do some mildly 
complex initialisation code to set a variable.

Would a do ... end block use the function stack?

Scott

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/dd148aad-cd21-4207-933a-6bd0a6fddb29%40blueyonder.co.uk.