1745 IF M=0 AND TI(M,1)=0 THEN 1780