top of page
9
Beginner
AZ_tableInsert
配列の間に新たな値を追加
RANK
dofile(reaper.AZ_GetLuaInitPath())
t = {"A","C"}
table.insert(t,2,"B")
for i = 1,3 do
Msg(t[i])
end
table.insert(t,"D")
for i = 1,4 do
Msg(t[i])
end
dofile(reaper.AZ_GetLuaInitPath())
t = {"A","C"}
配列を定義する。
table.insert(t,2,"B")
配列の2番目に「B」を挿入する。
for i = 1,3 do
Msg(t[i])
end
配列のインデックス(1~3)の値をコンソールへ出力する。
table.insert(t,"D")
配列の末尾に「D」を挿入する。
for i = 1,4 do
Msg(t[i])
end
配列のインデックス(1~4)の値をコンソールへ出力する。
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