I believe this is due to you using Increment or rather that using a Pass-By (the input on Increment is a diamond instead of the usual circle).
Here’s a For Loop I made:
Here’s the Output:
Now here’s my updated For Loop using Increment:
NOTE: I am NOT setting or printing the result of the Increment at all. All I’m doing is running Increment.
Output:
Pass-By will modify a variable whenever the function is run. Your loop runs to 155, but because you’ve plugged Index into the Pass-By it will increment it and any time you print Index, that increment is held even if the loop processed the int at a different value.
In my loop, every single time it runs, Index is being incremented and when Index is called to Print it prints the incremented value NOT the value the For Loop ran.
Both my loop and your loop are still processing the Index values correctly (your loop only goes to Index = 155) but the value of Index in anything past the loop is determined by the Increment function.
EDIT: Edited the two Loop images to remove a useless Branch that I had in there.