grandMA3 User Manual Publication
Printf(string)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » Printf(string)
Version 2.0

Description

The Printf Lua function prints a string in the Command Line History and System Monitor.

Command Line History

The Command Line History window shows feedback from the system based in the user input.

Learn more in the Command Line History topic.

System Monitor

The System Monitor window shows what is happening at the station. This includes feedback on user commands. It is a log of the different things happening in the background. It also shows warnings, errors, and changes to the system.

Learn more in the System Monitor topic.

Argument

  • String:
    The string text to be printed to the Command Line History.

Return

This function does not return anything.

Example

This example prints "Hello World!" in the Command Line History:

Lua
return function()
Printf("Hello World!")
end