for anyone who is having problems with this as i am heres how to correctly create an array with a desired index size…
you need to use RESIZE node…
this allows you to have an array valuable with a starting number of index items of 0
then you can resize it based on a value you determined elsewhere (in this case its a spin box for me)
then like in my case you can run a for each against that newly resized array