# Random Array and Comparison

**URL:** <https://forum.kirupa.com/t/random-array-and-comparison/249738>\
**Category:** flash\
**Created:** [January 22, 2008, 4:58am UTC](https://forum.kirupa.com/t/random-array-and-comparison/249738 "2008-01-22T04:58:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stickaforkinit](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@stickaforkinit](https://forum.kirupa.com/u/stickaforkinit)\
**Post date:** [January 22, 2008, 4:58am UTC](https://forum.kirupa.com/t/random-array-and-comparison/249738/1 "2008-01-22T04:58:23Z")

</div>

Here’s the stitch.

Words\_Array  
Pattern\_Array (created by a random function that pulls from Words\_Array and stores the index)

Now I want to create another array called

Choices\_Array

that will compare Pattern\_Array to Words\_Array and not repeat any of the Pattern\_Array index’s in the new array.

Any ideas?

Or know of a function?

Thank in advance
