if 2 > 1 thenbegin a:=A;endelse if 1 > 0 then begin b:=B;end else c:=C;begin end要配对,另外你的举例 2 > 1 , 1> 0自己修改成实际条件
没注意,已经结了。
2>1,1>0都会成立,怎么可能有else的情况呢?