top of page
5
Beginner
AZ_for_loop_2
配列の数のループを実行
RANK
dofile(reaper.AZ_GetLuaInitPath())
testList = {10,20,30,40,50}
for i, value in pairs(testList) do
Msg(i)
Msg(value)
end
dofile(reaper.AZ_GetLuaInitPath())
testList = {10,20,30,40,50}
{}で囲うことによって配列となる10.20.30.40.50はinteger(整数)つまり5つの整数が配列(testlist)に保存
for i, value in pairs(testList) do
ForLoopを利用してtestlistに保存されている配列分ループを回す
Msg(i)
カウントのIDをコンソールに出力
Msg(value)
カウント数に紐づいたtestListをコンソールに出力
end
ForLoop処理終了
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.
準備の必要はありません
- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -
- Script Image -
bottom of page