Syntax
[local] function <name>(<arguments>):Available in
- File scope
- Executable DCode bodies
Native C++
User-defined helper functions have no native code-generation binding. Select Lua for function definitions and calls.
Example
local function name(arguments):
-- body