top of page
- Script Code -
dofile(reaper.AZ_GetLuaInitPath())
list = {}
count = 5
for i = 1,count do
list[i] = i
Msg(list[i])
end
- Warm Up -
No preparation required
- Script Detail -
dofile(reaper.AZ_GetLuaInitPath())
Loading the initial settings for the Lua version of RIGDOCKS
list = {}
count = 5
Prepare a list array
Add the integer 5 to the count variable
for i = 1,count do
list[i] = i
Msg(list[i])
end
ForLoop executes loop 1 to 5 times
Add index i to list
Use the Msg function to output to the console each time the loop is executed.
- API LINK -
Beginner
AZ_list
Register the specified number in the array
bottom of page