Re: Comparing two arrays in longest element order

2001-09-24 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Randal L. Schwartz) wrote: > > "brian" == brian d foy <[EMAIL PROTECTED]> writes: > brian> In article <[EMAIL PROTECTED]>, > brian> [EMAIL PROTECTED] (Darin Weeks) wrote: > brian> you can use a schwartzian transform to pre-compute the len

Re: Comparing two arrays in longest element order

2001-09-24 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Darin Weeks) wrote: > I am trying to compare two arrays for a macro building system. I need to > start with the longest longest element from array 1 (the macros) and then > compare it to all elements in array 2. > Is there a simple way to cycl

RE: Comparing two arrays in longest element order

2001-09-24 Thread Bob Showalter
> -Original Message- > From: Darin Weeks [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 4:31 PM > To: [EMAIL PROTECTED] > Subject: Comparing two arrays in longest element order > > > > Hi all, > > I am trying to compare two arrays for a

Comparing two arrays in longest element order

2001-09-24 Thread Darin Weeks
Hi all, I am trying to compare two arrays for a macro building system. I need to start with the longest longest element from array 1 (the macros) and then compare it to all elements in array 2. If a match is found, I replace the match with '#0#' (replacing the number with the matching array e