Logic Machine Forum
for-loop - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: for-loop (/showthread.php?tid=5185)



for-loop - Amelie - 04.01.2024

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.