top of page
- API -
dofile(reaper.AZ_GetLuaInitPath())
list = {}
count = 5
for i = 1,count do
list[i] = i
Msg(list[i])
end
- API Detail-
No preparation required
- SCRIPT -
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.
- SCRIPT -
Beginner
AZ_list
Register the specified number in the array
bottom of page