B1:=C<=REF(C,4); B:=C>REF(C,4); BB:=C>REF(C,4) AND REF(B1,1); T1:=BARSLAST(BB)NODRAW; M111:=(T1=0 AND REFX(T1=1 AND NOT(B),1)) OR (REFX(T1=2 AND NOT(B),2)) OR (REFX(T1=3 AND NOT(B),3)) OR (REFX(T1=4 AND NOT(B),4)) OR (REFX(T1=5 AND NOT(B),5)) OR (REFX(T1=6 AND NOT(B),6)) OR (REFX(T1=7 AND NOT(B),7)) OR (REFX(T1=8 AND NOT(B),8)); M11:=T1=1 AND REFX(T1=2 AND NOT(B),1) OR (REFX(T1=3 AND NOT(B),2)) OR (REFX(T1=4 AND NOT(B),3)) OR (REFX(T1=5 AND NOT(B),4)) OR (REFX(T1=6 AND NOT(B),5)) OR (REFX(T1=7 AND NOT(B),6)) OR (REFX(T1=8 AND NOT(B),7)); M22:=T1=2 AND REFX(T1=3 AND NOT(B),1) OR (REFX(T1=4 AND NOT(B),2)) OR (REFX(T1=5 AND NOT(B),3)) OR (REFX(T1=6 AND NOT(B),4)) OR (REFX(T1=7 AND NOT(B),5)) OR (REFX(T1=8 AND NOT(B),6)); M33:=T1=3 AND REFX(T1=4 AND NOT(B),1)OR (REFX(T1=5 AND NOT(B),2)) OR (REFX(T1=6 AND NOT(B),3)) OR (REFX(T1=7 AND NOT(B),4)) OR (REFX(T1=8 AND NOT(B),5)); M44:=T1=4 AND REFX(T1=5 AND NOT(B),1) OR (REFX(T1=6 AND NOT(B),2)) OR (REFX(T1=7 AND NOT(B),7)) OR (REFX(T1=8 AND NOT(B),4)); M55:=T1=5 AND REFX(T1=6 AND NOT(B),1) OR (REFX(T1=7 AND NOT(B),2)) OR (REFX(T1=8 AND NOT(B),3)); M66:=T1=6 AND REFX(T1=7 AND NOT(B),1) OR (REFX(T1=8 AND NOT(B),2)); M77:=T1=7 AND REFX(T1=8 AND NOT(B),1); N111:=T1=1 AND REF(T1=0 AND BB,1) AND B; N11:=T1=2 AND REF(N111,1) AND B; N22:=T1=3 AND REF(N11,1) AND B; N33:=T1=4 AND REF(N22,1) AND B; N44:=T1=5 AND REF(N33,1) AND B; N55:=T1=6 AND REF(N44,1) AND B; N66:=T1=7 AND REF(N55,1) AND B; N77:=T1=8 AND REF(N66,1) AND B; DRAWTEXT(T1=0,H*1.02,'1')COLOR9900CC; DRAWTEXT(N111,H*1.02,'2')COLOR9900CC; DRAWTEXT(N11,H*1.02,'3')COLOR9900CC; DRAWTEXT(N22,H*1.02,'4')COLOR9900CC; DRAWTEXT(N33,H*1.02,'5')COLOR9900CC; DRAWTEXT(N44,H*1.02,'6')COLOR9900CC; DRAWTEXT(N55,H*1.02,'7')COLOR9900CC; DRAWTEXT(N66,H*1.02,'8')COLOR9900CC; DRAWTEXT(N77,H*1.02,'9')COLOR9900CC; DRAWICON(N77,H*1.04,2); DRAWTEXT(M111,H*1.02,'1')COLORBLACK; DRAWTEXT(M11,H*1.02,'2')COLORBLACK; DRAWTEXT(M22,H*1.02,'3')COLORBLACK; DRAWTEXT(M33,H*1.02,'4')COLORBLACK; DRAWTEXT(M44,H*1.02,'5')COLORBLACK; DRAWTEXT(M55,H*1.02,'6')COLORBLACK; DRAWTEXT(M66,H*1.02,'7')COLORBLACK; DRAWTEXT(M77,H*1.02,'8')COLORBLACK;
|