Lua Programming/How to Lua/nil
Uninitialized variables have a value of nil
In lua, uninitialized variables have a value of nil.
Deleting a global variable
A global variable can be deleted by assignment using a value of nil:
a = nil -- Delete the variableLast modified on 8 February 2011, at 20:36