dim i i=10 test () function test() dim i i=20 End function msgbox i是10 啊
相信我,net_lover(孟子E章)是不会错的。
那好,不许调试,看以下代码分别msgbox什么?先想想然后调试代码1: <script language=vbs> dim i i=10 function test(j) j=20 End function test i msgbox i </script>代码2 <script language=vbs> dim i i=10 function test(j) j=20 End function test(i) msgbox i </script>事先想的和答案一样才能回答这个问题
i=10
test ()
function test()
dim i
i=20
End function
msgbox i是10 啊
<script language=vbs>
dim i
i=10
function test(j)
j=20
End function
test i
msgbox i
</script>代码2
<script language=vbs>
dim i
i=10
function test(j)
j=20
End function
test(i)
msgbox i
</script>事先想的和答案一样才能回答这个问题