This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

for-loop
#1
I have a fo-loop in a bigger script
Code:
aantal = 28
     
 for m=1,aantal do
   log(m)
 end

But, when I look at the logs, it counts from 20 to 28. Why isn't it counting from 1.

I don't use the counter 'm' anywhere else. 

What am I doing wrong?

I have found it. It doesn't show all the logs in the little window (part of the scripting window), but in the big window all the numbers where shown.
Reply


Forum Jump: