# How do I iterate over vectors?

**URL:** https://forum.aztec.network/t/how-do-i-iterate-over-vectors/2628
**Category:** Noir
**Created:** [December 12, 2023, 1:46am UTC](https://forum.aztec.network/t/how-do-i-iterate-over-vectors/2628 "2023-12-12T01:46:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![moonmanfunnyman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aztec.network/moonmanfunnyman/32/906_2.png) [@moonmanfunnyman](https://forum.aztec.network/u/moonmanfunnyman)
#### Post date: [December 12, 2023, 1:46am UTC](https://forum.aztec.network/t/how-do-i-iterate-over-vectors/2628/1 "2023-12-12T01:46:53Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/aztec/original/1X/71156c51cfbac2aaa49dfe6a0290ade007406942.png)  
I have this code, I want to iterate over this vector and do calculations and comparisions there but I can’t because it’s giving me the error for “loop bound couldn’t be determined during compile time”

Thanks in advance guys. I can’t find good documents anywhere.

---

<div class="post-metadata">

### Author: ![joshc](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aztec.network/joshc/32/20_2.png) [@joshc](https://forum.aztec.network/u/joshc)
#### Post date: [December 12, 2023, 1:48am UTC](https://forum.aztec.network/t/how-do-i-iterate-over-vectors/2628/2 "2023-12-12T01:48:14Z")

</div>

This is a great question for discord. [Here](https://discord.gg/wjEnQC8FpH) is an invite link.
