grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object API » ToAddr(handle) | Version 2.2 |
The ToAddr Lua object function converts a handle to an address string that can be used in commands.
See the Handle topic for more info regarding handles and links to other related functions.
The Colon Notation is a way to omit the handle as the first argument when using the Object functions.
This is the general syntax with the colon notation: object:function()
This is the general syntax with standard handle notation: object.function(object)
Learn more in the Lua Functions - Object API topic.
This example returns the address of the first sequence of the selected data pool, prints the address in the Command Line History, and creates a grandMA3 command with a "Go" keyword in front of the address. This command is sent to the grandMA3 command line.
The command line history shows the commands entered and how the system interprets the command and feedback. Learn more in the Command Line topic.
Lua |
return function() |