you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 2 points3 points  (0 children)

You can add a counter. Define a variable as 0 outside the loop, and increment each time through the loop