if (((x=11)and(x<>y)and(abs(x-y)>=2))or((y=11)and(x<>y)and(abs(x-y)>=2))) 改为if (((x>=11)and(x<>y)and(abs(x-y)>=2))or((y>=11)and(x<>y)and(abs(x-y)>=2)))