您的位置首页百科快答

asp如何用if进行两次判断

asp如何用if进行两次判断

的有关信息介绍如下:

asp如何用if进行两次判断

这并不是接着判断什么,,是要看你判断的条件,

比如a=1 and b=0 两个条件都要符合

a=1 or b=0随便符合一个

你说的东西,没你想的那么复杂

if a=1 then '如果a=0下面的都不会运行了。

if b=0 then

response.write "555"

end if

end if

很简单 直接判断

If(a=1 && b=0){

response.write "555";

}

if a=1 and b=0 then

555

elseif a<>1 then

跳出

end if