To enter the Lua keyword in the command line, use one of the options:
- Type Lua
- Type the shortcut Lu
Description
Section titled âDescriptionâThe Lua keyword is used to execute commands in the script language Lua.Â
After entering Lua into the command line, type in the script language Lua version 5.4. The grandMA3 will directly execute the commands written in Lua.
To learn more about the grandMA3 specific Lua functions, see Plugins .
Lua [âLuaCodeâ]
Examples
Section titled âExamplesâ- To output âHello Worldâ in the Command Line History, type:
| User name[Fixture]>Lua âPrintf(âHello Worldâ)â |
Result:Â
 Hello World
Â
- To output âHello Worldâ in the system monitor, type:
| User name[Fixture]>Lua âEcho(âHello Worldâ)â |
Result:Â
 Hello World