Need algorithm!

Miscellaneous Forums/General Discussion/Need algorithm!

For i=1 to 4
for j=i+1 to 4
compare object i with object j
next
next

1 compare with -> 2,3,4
2 compare with -> 3,4
3 compare with -> 4
4 compare with -> none of them

Is that what you mean?

EDIT - oops sorry posted to early I think I misunderstood your problem.