请大虾 指下一句VBScript的错误(在线等待 过后补分)

来源:百度知道 编辑:UC知道 时间:2024/07/08 23:35:17
<script language="vbscript">
<!--
msg="8>6 and 21>11的值为" &(8>6 AND 21>11)&chr(13)&chr(10)
msg=msg&"8>6 and 21<11的值为"&(8>6 and 21<11)&chr(13)&chr(10)
msgbox msg
-->
</script>
大虾 请说明点 我把你的程序复制进去 调试 还是不行 ~~~~

照下面代码再试,写代码时一定要注意全角和半角字符,你的代码里有全角"("

<script language="vbscript">
<!--
msg="8>6 and 21>11的值为" &(8>6 AND 21>11)&chr(13)&chr(10)
msg=msg&"8>6 and 21<11的值为"&(8>6 and 21<11)&chr(13)&chr(10)
msgbox msg
-->
</script>

<script language="vbscript">
<!--
msg="8>6 and 21>11的值为" & 8>6 AND 21>11 &chr(13)&chr(10)
msg=msg&"8>6 and 21<11的值为"&(8>6 and 21<11)&chr(13)&chr(10)"

msgbox msg
-->
</script>