lua-users home
lua-l archive

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


I'm not really advocating for a new "global" or "unset" keyword for this case, as I have never felt the necessity for it up to now.
But I just thought a new "global" keyword could be used for the much more common use case of enforcing declaration of all variables.
A bit like "strict.lua" but more reliable, since it could be checked at compile time.
The ceck should remain an option to switch on, though.