Nil (type)

From ComputerCraft Wiki
Revision as of 02:46, 25 August 2013 by AfterLifeLochie (Talk | contribs) (moved Nil to Nil (type): It's a type, not an anything.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

nil is Lua's null. It is different from any other value and represents false in a logical expression. Most of the time, it is used to indicate the lack of a useful value.

Check Wikipedia's page on the null pointer for more informations.

For a more in-depth and concise explanation of types, please consult the Lua 5.1 Official Manual.