I am glad to hear that the tiny Lua reference booklet that helped me to be introduced to Lua also helps other people to get their hands on this marvelous language!
You can use this short guide with 2 ways:
-
As a quick tutorial which waits for you to try the provided code snippets in http://www.lua.org/cgi-bin/demo and learn the basics of Lua by example.
-
As a short reference booklet that you can print and consult for the first days/weeks of your flirt with Lua. The words in bold are the “hot points” that help you easily recall the exact syntax for a task and demonstrate some of the basic capabilities of Lua.
After your first days with Lua I suggest you bookmarking the following API indexes and open them in advance every time you sit down to write some code in Corona:
http://www.lua.org/manual/5.1/index.html#index
http://developer.anscamobile.com/resources/apis/
Don’t forget that when you see something like [lua]string.gsub (s, pattern, repl [, n])[/lua] the variables in brackets are optional arguments. [import]uid: 7356 topic_id: 2650 reply_id: 15998[/import]