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
  print("aBoolean  is false") --This will not execute as aBoolean is not equal to true

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.