中止當前事件, 繼續(xù)下一個 Select 或 Switch 中的事件.
ContinueCase
Local $msg
= ""
Local $szName
= InputBox(Default, "請輸入一個單詞.", "", "
M", Default, Default, Default, Default, 10)
Switch @error
Case
2
$msg = "超時
"
ContinueCase
Case
1; 繼續(xù)上一 Case 事件
$msg &= "退出"
Case
0
Switch $szName
Case "a", "e", "i", "o", "u"
$msg = "這是元音字母"
Case "QP"
$msg = "數(shù)學"
Case "Q"
To "QZ"
$msg = "自然科學"
Case Else
$msg = "其它"
EndSwitch
Case
Else
$msg = "出現(xiàn)可怕的錯誤."
EndSwitch
MsgBox(0, Default, $msg)
provider with jb51.net (unicode) |