Types Question

Blitz3D Forums/Blitz3D Programming/Types Question

I'm looking for the most efficient way of comparing all the instances of a type with each other without checking the same cobination twice.

This is how I'd do it with an array. Note that I don't want to have to make an array of types.

Blahs = 10
for b = 1 to Blahs-1
for c = b+1 to Blahs
compare ( b , c )
next
next

Cheers
Stevie