Download .lua

Download As from the toolbar.

Use Download As on the toolbar.

Goal

Print a one-file kiosk summary.

local rows = {
  { city = "Nairobi", units = 12 },
  { city = "Kisumu", units = 5 },
}
local total = 0
for _, r in ipairs(rows) do
  total = total + r.units
end
print("cities", #rows)
print("units", total)
print("Download As → .lua from the toolbar")