# Index and for loops and such

**URL:** <https://forum.kirupa.com/t/index-and-for-loops-and-such/214609>\
**Category:** Uncategorized\
**Created:** [January 30, 2007, 3:25pm UTC](https://forum.kirupa.com/t/index-and-for-loops-and-such/214609 "2007-01-30T15:25:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [January 30, 2007, 3:25pm UTC](https://forum.kirupa.com/t/index-and-for-loops-and-such/214609/1 "2007-01-30T15:25:42Z")

</div>

Hello!!

take a look at this code:

[[SIZE=7] **NEW CODE post #18** [/SIZE]](http://www.kirupa.com/forum/showpost.php?p=2054694&postcount=18)  
**[URL=“[http://www.kirupa.com/forum/showpost.php?p=2055298&postcount=21](http://www.kirupa.com/forum/showpost.php?p=2055298&postcount=21)”]  
[size=“7”]ZIP ADDED post #21[/size]**

This obviously does not work, and I know i have to use .index to utilize the for loop variables (i, b) but I don’t know how…
