Lua Programming/How to Lua/nil

Uninitialized variables have a value of nilEdit

In lua, uninitialized variables have a value of nil.

Deleting a global variableEdit

A global variable can be deleted by assignment using a value of nil:

a = nil    -- Delete the variable
Last modified on 8 February 2011, at 20:36