Lua for TIC80

From XPUB & Lens-Based wiki
Revision as of 21:07, 31 January 2021 by Michael Murtaugh (talk | contribs) (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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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