Re: Matching and Filling Arrays

2002-12-16 Thread John W. Krahn
Ben Crane wrote: > > I have a dummy list: > > Dog, A, B, C > Dog, 1, 2, 3 > Cat, A, 2, 3 > > I have a unique list of the first record, Dog and > Cat...I want to look through the unique list, and then You should probably be using a hash instead of an array for the unique list. > match all the

Matching and Filling Arrays

2002-12-16 Thread Ben Crane
I have a dummy list: Dog, A, B, C Dog, 1, 2, 3 Cat, A, 2, 3 I have a unique list of the first record, Dog and Cat...I want to look through the unique list, and then match all the records from the main list (as above)-matching the unique list value (Dog/Cat) with the main list...then if there are