[Home] [Downloads] [Search] [Help/forum]

Lua syntax

Lua general syntax

This section summarizes the syntax of Lua.

For more details see the online Programming In Lua book:

http://www.lua.org/pil/


Note that Lua is case-sensitive. Thus TRUE and true are different things.

There are a lot of examples and discussions in the Lua part of the MUSHclient forum:

http://www.mushclient.com/lua



Lua keywords/topics

assignment
break
comments
data types
do
for (generic)
for (numeric)
function
identifiers
if / then / else
keywords
local
logical operators
precedence
relational operators
repeat
return
string literals
tables
while

Topics

Lua base functions
Lua bc (big number) functions
Lua bit manipulation functions
Lua coroutine functions
Lua debug functions
Lua io functions
Lua LPEG library
Lua math functions
Lua os functions
Lua package functions
Lua PCRE regular expression functions
Lua script extensions
Lua SQLite (database) interface
Lua string functions
Lua table functions
Lua utilities
Scripting
Scripting callbacks - plugins

(Help topic: general=lua_syntax)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]