Comparing 2 types

Blitz3D Forums/Blitz3D Beginners Area/Comparing 2 types

I have been using this to compare 2 values in different types
for blue.blue_s=each blue_s
for red.red_s=each red_s

if blue\collision = red\handle
blue\collisions=blue\collisions+1
endif
next
next


Is this really the fastest way to do it?