判断之后如何实现跳转[已解决]
本帖最后由 黑色袜子 于 2010-8-27 11:56 编辑RT
比如
#NoTrayIcon
$test=msgbox(4+32,"","")
if $test=7 then
这里执行跳转
else
也是执行跳转
endif
这里否的跳转
msgbox(0,"","")
exit
这里是的跳转
msgbox(0,"","")
不知道大家懂我意思不,我是个新人什么也不懂,希望大家多多指教 乱七八糟,表达清楚 本帖最后由 xjdjpbp 于 2010-8-27 11:52 编辑
參考樓下的代碼
不然也可以用這個
Call ( "函數名")
Doc解說 $test=msgbox(4+32,"","")
if $test=7 then
no()
else
yes()
endif
Func no()
msgbox(0,"","No")
EndFunc
Func yes()
msgbox(0,"","Yes")
EndFunc多看看基础的吧 谢谢了,解决了!!! 本帖最后由 xsjtxy 于 2010-8-28 09:40 编辑
回复 5# 黑色袜子
我以为又有人在问goto 雷锋精神传天下!谢谢分享!
页:
[1]