
- UID
- 250477
- 帖子
- 20374
- 精华
- 3
- 威望
- 95
- 阅读权限
- 100
- 注册时间
- 2004-12-12
|
原帖由 liuhlightning 于 2007-12-15 11:19 发表 
其实我知道是用IF+ELSEIF+ELSE语句解决问题,但是写出来的就是不对.............................
...
直接用if就可以了 不要else了
这样就可以了
if M=0 and N<>0 and O<>0 and P<>0 then
LABEL1.CAPTION=1
end if
if M=0 and N=0 and O=0 and P=0 then
LABEL1.CAPTION=2
end if
if M<>0 then
LABEL1.CAPTION=3
end if
end
[ 本帖最后由 与星独白 于 2007-12-15 13:03 编辑 ] |
|