1-- For K,V in table
2for k,v in pairs(tbl) do
3 print(k)
4 print(v)
5end
6-- For i=0, num
7for i=0, num do
8 print(i)
9end
1for startValue, EndValue, [increments] do
2 --code to execute
3end
4--The increments value is optional. If it isn't defined, it is assumed to be "1"