# Array help

**URL:** https://forum.kirupa.com/t/array-help/55883
**Category:** flash
**Created:** [June 28, 2004, 7:35pm UTC](https://forum.kirupa.com/t/array-help/55883 "2004-06-28T19:35:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kill\_robot\_kill](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kill_robot_kill/32/359_2.png) [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)
#### Post date: [June 28, 2004, 7:35pm UTC](https://forum.kirupa.com/t/array-help/55883/1 "2004-06-28T19:35:09Z")

</div>

I would like to have an array like this  
menuArray = new Array(  
“food one”,  
“food two”,  
“food three **sub Item(array?): ingredients include…blah blah blah**”,  
“food four”  
);

As you can see in “food three” i have a sub item. These will be random, and hardcoded into the array.  
This array is sorta like a menu. The user will go through the array, one by one and they have the choice to include a specific item into a new array, or not to.  
If they include this item into the array, I **do not** want the subitems included in the users final results.
