lua-users home
lua-l archive

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


> On May 12, 2020, at 4:45 PM, Coda Highland <chighland@gmail.com> wrote:
> 
> The problem with this syntax is that you still need a local keyword within functions in order to avoid namespace collisions.

I was hoping my intention would be clear. I precisely want both local and global, at the same time. If you use a variable without a declaration using the existing lexical scoping, it would be an error.
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org