# Array definition

**URL:** <https://community.freefem.org/t/array-definition/874>\
**Category:** General Discussion\
**Created:** [March 26, 2021, 12:37pm UTC](https://community.freefem.org/t/array-definition/874 "2021-03-26T12:37:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zese](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/zese/32/917_2.png) [@zese](https://community.freefem.org/u/zese)\
**Post date:** [March 26, 2021, 12:37pm UTC](https://community.freefem.org/t/array-definition/874/1 "2021-03-26T12:37:40Z")

</div>

Dear all,

I want to define an array which I don’t know about its size at the first place and it is updated every iteration in a for loop. how I can define it?

Best regards

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [March 26, 2021, 6:05pm UTC](https://community.freefem.org/t/array-definition/874/2 "2021-03-26T18:05:48Z")

</div>

[https://doc.freefem.org/examples/developers.html#array](https://doc.freefem.org/examples/developers.html#array)
