
if …… then begin if …… then begin …… end else …… end; 问这个else跟第几个if?
2个回答
展开全部
第二个
改成
if …… then begin if …… then begin …… end end else begin…… end;
在嵌套的if后面家个end,这个end结束了总的if语句的then语句,接下来就做else了。
改成
if …… then begin if …… then begin …… end end else begin…… end;
在嵌套的if后面家个end,这个end结束了总的if语句的then语句,接下来就做else了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询