lua for loop in array code example Example: lua for each in table for k,v in pairs(table) do -- k is key -- v is value end