grandMA3 User Manual Publication
ErrPrintf(string)

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

Description

The ErrPrintf Lua function prints a red error message in the Command Line History and System Monitor.

Argument

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

Return

This function does not return anything.

Example

This example prints "This is a red error message!" in the Command Line History and System Monitor:

Lua
return function()
-- Prints an error message in the command line feedback in red text.
ErrPrintf("This is an error message!")
end