Lua
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 .
Syntax
Section titled “Syntax”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