◆ NegInny
Loading NegInny.fbx...
◆ Lua Terminal
Innygr@Lua:~$
print("Hello, Lua!")
Hello, Lua!
Hello, Lua!
◆ Assignments
L01 — Table L02 — List L03 — Forms L04 — CSS L05 — Input / Output L06 — Proper Variables L07 — Decision L08 — Loops L09 — Functions L10 — Events L11 - Arrays L12 — Objects L13 — Classes L14 - Class Extensions L15 — Mandelbrot L16 — PowerUp L17 — HackBrowser L18 — Game Templates L19 — JSON L20 — Sort L21 — Spy / Encryption LX10 — Fractals Lua Testing Grounds LX15 - Game
...
◆ Lua Notes
Lua uses % for the remainder/modulo operation,
just like the JavaScript work we've already touched on.
local remainder = 10 % 3
print(remainder) -- 1 ◆ Lua Quick Start
local name = "Inny"
print("Hello " .. name)
local number = 10
if number > 5 then
print("Big number")
else
print("Small number")
end