lua-users home
lua-l archive

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

> A way to require (at compile-time) that variables be "declared"
> (assigned a value) before use, like Perl's 'use strict'.

See /test/undefined.lua in the 5.0.2 distro for a simple way
of catching this sort of error, at least after a fashion.
Not compile-time, but it surely helps...