Hi Henrik, oops, sorry, didn't notice a small glitch!
An additional level of parentheses is missing! It must be: (((a1 +Similarity @A a2 +Similarity @A))) Explanation: The single generator clause is (a1 +Similarity @A) then the OR clause is ((a1 +Similarity @A a2 +Similarity @A)) But as this in turn is written as the list of clauses for 'select', another level of parentheses is required. (select (@Sim) (((a1 +Similarity @A a2 +Similarity @A))) (range @Rng @Sim value))) Again, sorry for the oversight! Cheers, - Alex -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]