tw
On Fri, 13 Aug 2004 09:35:08 -0400, Larry C. Lyons
<[EMAIL PROTECTED]> wrote:
> thx,
>
> saved as a snippet.
>
> larry
>
>
>
> On Fri, 13 Aug 2004 09:16:40 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> > no problem...
> >
> > <<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>
> > (REPOST FROM CF-TALK courtesy of Pascal Peters)
> > <<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>
> >
> > <cfscript>
> > lValues = "";
> > lDuplicates = "";
> > for(i=1;1 LE ArrayLen(request.arrayName);i=i+1){
> > if(ListFind(lValues,request.arrayName[i].pointValue))
> > lDuplicates = ListAppend(lDuplicates,i);
> > else
> > lValues =
> > ListAppend(lValues,request.arrayName[i].pointValue);
> > }
> > </cfscript>
> > <cfoutput>Indexes containing duplicates #lDuplicates#</cfoutput>
> >
> > <<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>
> >
> > --
> > 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]
