R
R
RaMzz2016-02-26 21:36:26
Lua
RaMzz, 2016-02-26 21:36:26

Can you please explain the code?

for i=1,11 do
xpos = 26*i
SnowflakesDraw(xpos,140)
end

is it a search in increments of 11 ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Lerg, 2016-02-26
@Lerg

No, this is a search from 1 to 11, that is, the code inside the loop will be executed 11 times.

D
Dark_Scorpion, 2016-05-26
@Dark_Scorpion

is it a search in increments of 11 ?

step is indicated by 3 arguments
for i=1, 110, 11 do
  ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question