# Repeat Arrays

**URL:** <https://forum.kirupa.com/t/repeat-arrays/235972>\
**Category:** flash\
**Created:** [August 16, 2007, 4:39am UTC](https://forum.kirupa.com/t/repeat-arrays/235972 "2007-08-16T04:39:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommy2toes](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tommy2toes](https://forum.kirupa.com/u/tommy2toes)\
**Post date:** [August 16, 2007, 4:39am UTC](https://forum.kirupa.com/t/repeat-arrays/235972/1 "2007-08-16T04:39:27Z")

</div>

Hi.

I’ve searched high and low, but I think this must be pretty easy to do, just not sure how. I can do it now, but it simply isn’t elegant enough for my tastes.

var n:Array = [“C”,“C#”,“D”,“D#”,“E”,“F”,“F#”,“G”,“G#”,“A”,“A#”,“B”];  
var Notes:Array=n.concat(n,n,n,n,n,n,n,n,n,n,n,n)

Is there a more efficent way to do this? Like a for loop, or something that I can add to concat to simplfy it?
