# Index array with another variable?

**URL:** <https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481>\
**Category:** Maker\
**Created:** [October 13, 2023, 10:33pm UTC](https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481 "2023-10-13T22:33:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidar\_Hetlelid](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@Vidar\_Hetlelid](https://forum.inductiveautomation.com/u/Vidar_Hetlelid)\
**Post date:** [October 13, 2023, 10:33pm UTC](https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481/1 "2023-10-13T22:33:43Z")

</div>

Hi! Im trying to index a array with another variable, is this not possible?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/c/dcd40b56e1696fdf300b8da6418b0e96a2072158.png)

xWeekday is array of bool, and TestInt is the variable im trying to index the array with.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 13, 2023, 10:36pm UTC](https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481/2 "2023-10-13T22:36:00Z")

</div>

Use indirect tag binding.

---

<div class="post-metadata">

**Author:** ![Vidar\_Hetlelid](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@Vidar\_Hetlelid](https://forum.inductiveautomation.com/u/Vidar_Hetlelid)\
**Post date:** [October 13, 2023, 10:46pm UTC](https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481/3 "2023-10-13T22:46:52Z")

</div>

Uhm... how do i do that?

EDIT: Nevermind, i found it. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 14, 2023, 6:48am UTC](https://forum.inductiveautomation.com/t/index-array-with-another-variable/80481/4 "2023-10-14T06:48:58Z")

</div>

Good!  
Don't forget to hit the solution icon on the post that best answered your question.
