John Pickford #1 Perhaps a 2D array where you set a flag for each comparison. Object 10 & Object 12 = flag(10,12) + flag(12,10). Or use the lower value for the first parameter to avoid having to set two flags.