# Create arrays in loop

**URL:** <https://forum.kirupa.com/t/create-arrays-in-loop/275546>\
**Category:** flash\
**Created:** [November 15, 2008, 9:25am UTC](https://forum.kirupa.com/t/create-arrays-in-loop/275546 "2008-11-15T09:25:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lillo\_\_hotmail](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lillo\_\_hotmail](https://forum.kirupa.com/u/lillo__hotmail)\
**Post date:** [November 15, 2008, 9:25am UTC](https://forum.kirupa.com/t/create-arrays-in-loop/275546/1 "2008-11-15T09:25:49Z")

</div>

Is it possible to have a for loop and create a new array for every loop  
for (i=0; i\<5; i++){  
myArray+i:array=new Array;  
}  
I know this doesen’t work it just illustrates what im after.

Have a great day!
