For Loop Example 3

For Loop Example 3

fruit = "Cranberry|Grape|Grapefruit|Kiwifruit|Lemon|Lime|Mango|Orange"; for(int x = 0; x < size(fruit); x++) { runnerLog(fruit[x]); }

Sometimes you need to know what number (index) you are on while looping through an array.
In those cases you would use this method.

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.