in reply to Testing if A is in a record, The B must be in the Record
Alternatively, there is nothing wrong with your flag approach. If there are a bunch of relationships that need to be met than the hash approach sounds like a good idea. You can let the key be the first condition and the value be the second condition. It would then just be a matter of iterating over the hash looking for keys without values.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing if A is in a record, The B must be in the Record
by cutter (Acolyte) on Aug 03, 2006 at 17:35 UTC | |
by ikegami (Patriarch) on Aug 03, 2006 at 17:59 UTC |