What is Lua
grandMA3 User Manual » Plugins » What is Lua
|
Version 2.1
|
Lua is a scripting language designed to support general procedural programming. It offers support for object-oriented programming, functional programming, and data-driven programming. Lua is implemented as a library, written in clean C (a common subset of ANSI C and C++).
For more information on scripting with Lua, see www.lua.org.
The grandMA3 software supports Lua version 5.4.6 and all the built-in standard libraries.
Use the Version keyword in the command line to check which Lua version your device is currently running.
Besides the standard Lua libraries, there are some custom grandMA3 Functions.
A list of all the current grandMA3 functions can be created by using the HelpLua keyword. This keyword creates a file called "grandMA3_lua_functions.txt" in the gma3_library folder. Learn more about how to find this in the Folder Structure topic.
This list separates the functions into two categories: Object-Free API and Object API. Individual functions are described in sub-topics in these two topics.
Lua code can be executed from plugins or directly in the command line using the Lua keyword.