![](https://www.opentextbooks.org.hk/sites/opentextbooks/files/book_profile/cc_icon/by-sa.png)
Available under Creative Commons-ShareAlike 4.0 International License. Download for free at http://cnx.org/contents/5b6e61df-b830-48cb-9764-94696cb47c80@1.3
Auto-indexing allows input array elements to be operated on and output array elements to be aggregated automatically in a for loop. It is not required to wire the Loop Counter. The for loop automatically reduces the array dimensionality by one.
![media/image30.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8129/media/image30.png)
Figure 5.30 For Loop Auto-Indexing
- 1319 reads