it could be optomized a tiny bit if both arrays are sorted

if your looking through the second array for something beginning with "a",
when you get to "b"'s you know your done (:

----- Original Message ----- 
From: "Roland Dumas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 28, 2004 2:38 PM
Subject: Re: Witango-Talk: Makeing 1 Array from 2 others


>
>
> Like maybe looping through one and comparing each to the rows in the other
> and if there is no match, add a row to a new array
>
> Could get slow if the arrays are big.
>
>
>
> On 10/28/04 2:23 PM, "Stefan Gonick" <[EMAIL PROTECTED]> wrote:
>
> > @union gives you all rows from both arrays. He wants array "difference",
> > which doesn't exist. :(
> >
> > Stefan
> >
> > At 05:19 PM 10/28/2004, you wrote:
> >> <@UNION>
> >>
> >>
> >> On 10/28/04 12:51 PM, "Tom Storey" <[EMAIL PROTECTED]> wrote:
> >>
> >>> Hi All
> >>>
> >>> I have 2 arrays with 2 columns each. What I need to do is is make a
new
> >>> array containing only the rows that are not the same in the 2 arrays.
> >>> Any ideas would be great.
> >>
> >>
> >> -----------------------------------------
> >> Roland Dumas
> >> Roberts Information Services
> >> 310 W. Bellevue Avenue
> >> San Mateo CA 94402
> >> 650-347-1373
> >> 415-412-9300 (cell)
> >> [EMAIL PROTECTED]
> >> SMS: http://new.servqual.com/html/sms.tml
> >>
> >>
> >>
________________________________________________________________________
> >> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> >
> > =====================================================
> > Database WebWorks: Dynamic web sites through database integration
> > http://www.DatabaseWebWorks.com
> >
> > ________________________________________________________________________
> > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> >
>
>
> -----------------------------------------
> Roland Dumas
> Roberts Information Services
> 310 W. Bellevue Avenue
> San Mateo CA 94402
> 650-347-1373
> 415-412-9300 (cell)
> [EMAIL PROTECTED]
> SMS: http://new.servqual.com/html/sms.tml
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to