|This article is a stub. Please help The Tekkit Classic Wiki by expanding it, adding pictures, and improving existing text.|
A Boolean is a computer logic principle that defines whether something is true or false. A Boolean is one of the basic functions of Lua and is added by Computercraft.
Here is a common example of a Boolean used in Lua:
--Boolean example. Uploaded 13 November, 2015 by CrashDive. aBoolean = true -- Assigns variable 'aBoolean' to true if aBoolean == true print("aBoolean is true!") --This will execute as aBoolean is equal to true else print("aBoolean is false") --This will not execute as aBoolean is not equal to true end