先看代码:
<% dim a as long a=2 response.write a %>
出错,修改成:
<% dim a a=2 response.write a %>
正确显示:
2
看来不需要设置as。