阿瑟 發表
<script language=VBscript> a=0 b=1 If a<b then msgbox("a比b小") elseif a>b then msgbox("a比b大") else msgbox("兩者相等") end if </script> |
<script language=VBscript> a=prompt("輸入一個數字") b=5 If int(a)<b then msgbox("a比b小") elseif int(a)>b then msgbox("a比b大") else msgbox("兩者相等") end if </script> |
<script language=VBscript> a=prompt("輸入一個數字") b=5 If int(a)<b then msgbox("a比b小") elseif int(a)>b then msgbox("a比b大") else msgbox("兩者相等") end if If int(a)<>1 then msgbox("a不是1") end if </script> |