grandMA3 User Manual Publication
ErrEcho(string)

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » ErrEcho(string)
Version 2.1

Description

The ErrEcho Lua function prints a red error message on the System Monitor.

Argument

  • String:
    The string text is to be printed to the System Monitor.

Return

This function does not return anything.

Example

This prints "This is a red error message!" on the system monitor:

Lua
return function()
-- Prints an error message in the system monitor in red text.
ErrEcho("This is an error message!")
end