Lua Cheat Sheet Pdf
It s commonly used for creating apis scripts quick prototypes and more.
Lua cheat sheet pdf. Programming games console fantasy lua pico 8 0. Func tions value func tio n a rgs body end func tion functi onn ame a rgs body end functions can be used as arguments. Even though it is simple enough to warrant a one pager we created a two page cheat sheet to include a few extra tips including syntax data structures important variables and other helpful tricks. This cheat sheet is intended for beginner scripters.
Lua 5 1 c api short reference pdf lua 5 1 c api short reference backup lua 5 1 c api short reference pdf lua 5 1 c api short reference backup. Lua code is executed by the lua bytecode interpreter. After the end in table t. Func tion f f2 arg1 f2 arg1 end return skips other code below it.
The table library table table insert t i v inserts v at numerical index i default. General reference for scripting in lua on roblox. Usage examples links snippets and more. T his function will act as coroutine resume without the first argument and the first return value propagating any errors.
Lua isstring ok value return true if value at position n is a string lua istable ok value return true if value at position n is a table lua isfunction ok value return true if value at position n is a lua function lua iscfunction ok value return true if value at position n is a c function. Pdf recommended pdf 3 pages alternative downloads. Coroutine wrap f creates a new coroutine with lua function f as body and returns a function. A ridiculous collection of web development cheatsheets one page guide to.
General reference for scripting in lua on roblox. General reference for scripting in lua on roblox. This is devhints io cheatsheets a collection of cheatsheets i ve written. Comments comment multiline comment invoking functions.
1 page 0 pico 8 v2 cheat sheet. Pdf black and white latex. This cheat sheet is intended for beginner scripters. Programming games scripting lua roblox.
Odt pdf aewald arnold de lua 5 1 c api short reference lists all the calls with even shorter descriptions but also includes the stack layout of the ingoing and outcoming lua values by ewald arnold xls pdf aewald arnold de. The one page guide to lua.