5. 5
Luaridaとは
ルアリダ
Luaridaって何?
Androidで走るインタプリタです。
function main()
local r,g,b
local i,y,s,k
canvas.putCls(color(255,255,255))
y=0
for i=0,10 do
r = math.random(256)-1
g = math.random(256)-1 Lua言語でプログラム
b = math.random(256)-1
s = math.random(20)+10
k = canvas.drawTextBox("でんもく勉強会",0,y,s,color(r,g,b), Gwide)
y = y + k*s
end
toast("画面タッチで終了します",1)
touch(3)
system.exit()
end