[求助]如何再优化以下几行代码?
Local $nCSR = 0If StringInStr($ARRAY[$i], "CONTINUOUS") Then $nCSR = 1
If StringInStr($ARRAY[$i], "SMON") Then $nCSR = 1
If StringInStr($ARRAY[$i], "RA") Then $nCSR = 1
If StringInStr($ARRAY[$i], "SELFDEFENSE") Then $nCSR = 1
If StringInStr($ARRAY[$i], "MAILSERVER") Then $nCSR = 1
If $nCSR = 0 Then MsgBox(0,"",$nCSR)
应该可以更简洁地实现,水平有限,请高手指点,谢谢!
页:
[1]