grandMA3 User Manual Publication
IntToHandle(integer)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » IntToHandle(integer)
|
Version 2.0
|
Description
The IntToHandle Lua function converts an integer number into a handle. The integer needs to correlate with an actual handle.
See the Handle topic for more info regarding handles and links to other related functions.
Arguments
- Integer:
The integer that correlates to an object's handle.
Return
- Handle:
The returned handle of the object correlates with the integer.
Example
This example prints the handle integer number for the selected sequence. It also converts the integer back to a handle and uses this to print the name of the sequence:
Lua |
return function() |