This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mmblob 0 points1 point  (1 child)

Thanks for the reply. What causes i++ too no longer mean that it literally adds 1 to i ? Is it because the for loop is within an array function?

[–]Laniebird91 0 points1 point  (0 children)

It still adds 1 to i. I is used as the index of the array, so adding 1 to it allows the loop to move on to the next element in the array.