grandMA3 User Manual Publication
StrToHandle(string)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » StrToHandle(string)
|
Version 2.0
|
Description
The object-free StrToHandle Lua function converts a string with a hexadecimal number format into a handle. The string needs to correlate with an actual handle.
See the Handle topic for more info regarding handles and links to other related functions.
Arguments
- String:
The string with a handle number in a hexadecimal format.
Return
- Handle:
The returned handle based on the string with a hexadecimal number.
Example
This example prints the handle hex number for the selected sequence. It also converts the string back to a handle and uses this to print the name of the sequence:
Lua |
return function() |