s shore

s shore

  • NA
  • 1
  • 0

comparing values in records in arrays

Jul 31 2006 1:57 PM

I'm looking for a code example how to compare the values in a given record in different arraylists

two arraylists, two fields in each record, both defined as string

I'm thinking that it's something like

 

If ((fieldname)array1(x)) == ((fieldname)array2(x)) Then do something, where x is an integer used for the index/record 

or possibly

If (array1(fieldname)(x)) == ((array2(fieldname)(x)

I just haven't worked out the syntax

 

thanks