# Question - Memory Boolean array Tag

**URL:** <https://forum.inductiveautomation.com/t/question-memory-boolean-array-tag/76631>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 20, 2023, 8:35am UTC](https://forum.inductiveautomation.com/t/question-memory-boolean-array-tag/76631 "2023-07-20T08:35:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [July 20, 2023, 8:35am UTC](https://forum.inductiveautomation.com/t/question-memory-boolean-array-tag/76631/1 "2023-07-20T08:35:55Z")

</div>

Hello,  
I have defined a bool array in the provider I have the following questions.

If I have a huge array, do I need to click this tool to create an array of the needed size? Or is there another way? What if I need to have an array [500]?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/5/b562439dae0f47857330a1108821cf232bdf332a.png)

Another question is why when I do a double click on a variable its size changes to [1] and what if I make a mistake in the script and write it to the zBooleanArray value and the array shrinks to one. I have to define it again.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/910d00c884e710c27c08fae2ab61fbb282312e18.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/a/aaf68ed4bfd1c43c5ad4576f4e7ea4dcead3183c.png)

Is this normal, why is this happening? Is there a way to define large arrays more conveniently?

Best regards,  
Michał

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 22, 2023, 2:41am UTC](https://forum.inductiveautomation.com/t/question-memory-boolean-array-tag/76631/2 "2023-07-22T02:41:14Z")

</div>

The array sizes aren't static, so you can just create one of any length and then write a new value of the desired size to it like this:

```auto
system.tag.writeBlocking(["[default]BoolArray"], [[True]*500])

```
