grandMA3 User Manual Publication
Programmer()

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

Description

The Programmer Lua function references the current programmer object.

Arguments

This function does not accept any arguments.

Return

  • Handle:
    The function returns a handle to the Programmer object.

Example

This example uses the Dump() function on the programmer object:

Dump()

The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.

Learn more in the Dump() topic.

Lua
return function ()
-- Dumps information about the programmer object.
Printf("=============== START OF DUMP ===============")
Programmer():Dump()
Printf("================ END OF DUMP ================")
end