VB6.0出现块if没有end if 是什么意思

谢啦啊
2025-04-10 09:04:19
推荐回答(3个)
回答1:

例子

if text=“” then
msgbox“X"
else
msgbox "OK"
end if '结束时必须end if,否则提示错误。

end if其实是把if结束,就好像开门就一定关门咯。
凡是用if就一定要end if。

回答2:

就是缺少“end if”撒

回答3:

你的语名没写全啊

加上end if