Difference between revisions of "Contributing: Lua function"
From Nomad DB
(Created page with "'''This guide gives you a Template and information on how to document a Lua function correctly.''' This is the description of the function. == Syntax == <syntaxhighlight lan...") |
|||
Line 1: | Line 1: | ||
− | '''This guide gives you a Template and information on how to document a Lua function correctly.''' | + | '''This guide gives you a Template and information on how to document a Lua function correctly.''' You can copy the source of this page for your own Lua pages. |
This is the description of the function. | This is the description of the function. |
Latest revision as of 13:16, 18 April 2020
This guide gives you a Template and information on how to document a Lua function correctly. You can copy the source of this page for your own Lua pages.
This is the description of the function.
Syntax
MyLuaFunction(arg[, optionalArg])
- arg (type) Info
- Optional: optionalArg (type) Info
- Returns: data (type) Info
Example
This is my example, if it's self-explanatory you don't need to provide this text here.
local info = MyLuaFunction(1234)
print(info)
Related Pages
Specify Related Pages & Category here.