Difference between revisions of "Lua for TIC80"
Jump to navigation
Jump to search
(Created page with "== for == See: https://www.lua.org/pil/4.3.4.html <source lang="lua"> function TIC() cls(0) for i=1,100,2 do rect(0,0,i,i,i%16) end end </source>") |
|||
Line 1: | Line 1: | ||
+ | == tables == | ||
+ | |||
+ | |||
== for == | == for == | ||
See: https://www.lua.org/pil/4.3.4.html | See: https://www.lua.org/pil/4.3.4.html | ||
Line 12: | Line 15: | ||
end | end | ||
</source> | </source> | ||
+ | |||
+ | == function == | ||
+ | |||
+ | == break, return == | ||
+ | https://www.lua.org/pil/4.4.html |
Revision as of 22:12, 31 January 2021
Contents
tables
for
See: https://www.lua.org/pil/4.3.4.html
function TIC()
cls(0)
for i=1,100,2 do
rect(0,0,i,i,i%16)
end
end