top of page
8
Beginner
AZSTOKe_sample_{}
array within array
RANK
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
i = {1,2,3}
b = {4,5,6}
e = {i,b}
Msg(e[1])
Msg(e[1][2])
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
Set Msg console output function
i = {1,2,3}
Save in array (i) which becomes an array by surrounding it with {}
b = {4,5,6}
Save to array (b)
e = {i,b}
Save array (i) and array (b) to array (e)
Msg(e[1])
Output the first item of array (e) to the console
Msg(e[1][2])
Output the second e of array (e) to the console
This time 2 is output
To use the API, you need to sign up for a plan.
Download the dedicated API
need to do it.
*SILVER is scheduled to be released in May.
No preparation required
- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -
- Script Image -
bottom of page