Page 1 of 1

lua for command

PostPosted: Sat Feb 15, 2014 4:18 pm
by markltbl
Hi all im editing a code in lua.

the code defines a local variable i then requests a for loop as below

for i=1,13,1 do
......
end

is this commanding the do loop to be executed 3 times, once when i=1, then i=13 and again when i=1?

please advise

Re: lua for command

PostPosted: Sun Feb 16, 2014 3:51 am
by Apprentice
In this For loop i will assume all values ​​between 1 and 13
1,2,3, ... 12 and 13.