Show Menu
Cheatography

Lua 5.3 Programming - General Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Reserved Keywords

and
break
do
else
elseif
end
false
for
function
goto
if
in
local
nil
not
or
repeat
return
then
true
until
while
 

Types

nil
boolean
number
string
userdata
function
table
thread

Comments

-- single line comment

--[[ multi
line
comment
]]