Hello

I declare

SET i / a1 a2 a3 / ;

SET j / b1 b2 b3 / ;

SET k / 1 2 3 / ;

alias i, i1 ;

alias j, j1 ;

alias k, k1 ;

Eq(i,j,k,i1,j1,k1)…

How can I make sure that the combination (i1,j1,k1) doesn’t get the same as (i,j,k) ?

Eq(i,j,k,i1,j1,k1)$( (ord(i)<>ord(i1)) and (ord(j)<>ord(j1)) and (ord(k)<>ord(k1))) … is not correct,

because it doesn’t allow Eq(a1,b1,1,a1,b1,2), which should be allowed

Forbiden should be something like Eq(a1,b1,1,a1,b1,1) or Eq(a2,b1,1,a2,b1,1) …

What is the correct way to write this?

Perhaps

Eq(i,j,k,i1,j1,k1)$( (ord(i)<>ord(i1)) and (ord(j)<>ord(j1)) and (ord(k)<>ord(k1))) … … ?

Somehow I messing this up!