I wrote a quick script that did something similar to this a while
back; it is more for comparing values but you could certainly modify
it to your needs:

http://www.fus.net/code/structCompare.txt

Matt

----- Original Message -----
From: Tony Weeg <[EMAIL PROTECTED]>
Date: Thu, 12 Aug 2004 23:31:59 -0400
Subject: structFindDuplicates???
To: CF-Talk <[EMAIL PROTECTED]>

hi all...

lets say i have an array of structures called request.arrayName
and the structure of this looked like this:

and lets say there could be 15 of these...so it would look like this...

request.arrayName[1].pointValue
request.arrayName[1].winner
request.arrayName[1].matchup

request.arrayName[2].pointValue
request.arrayName[2].winner
request.arrayName[2].matchup

and so on, until 15....

but, the question is...i need to make sure ALL
request.arrayName[x].pointValue are unique.  what would be the best
function to use?  structFindValue?  and when looping through the array
use the value of index = i to replace the numbers, and search through
the other 14 for a duplicate value...

is this possible?

am i nuts? :) good evening if you're still awake!!!
--
tony

Tony Weeg
human.
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/

Check out http://www.antiwrap.com to send websites to your
friends.________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to