ASP基础代码,部分问题求助。

来源:百度知道 编辑:UC知道 时间:2024/06/25 10:46:08
http://www.moblesp.com/help.html
代码页面被放置在这个页面上了,绝对安全,
执行的时候出现

Script error detected at line 35.
Source line: response.Write("鎴戜细浜?)
Description: 未结束的字符串常量

这种东西
有啊,有结尾

<body>
<%
a=12=5
response.Write(a)
%>
<%
a=3
b=4
c=5
d=(a=b)*c
response.Write(d)
%>
<%
a="abc"
b="def"
c=a+b
c=c+"12"
response.write(e)
%>
<%
b=5
if b>=5 then
response.Write("我会了")
else
response.Write("我不会")
end if
%>

<%
dim c
c=0
for i+1 to 100
c=c+i
next
response.write("从1加到100结果等于:"& c &".")
%>
<p>学习ASP <br>
<%
response.Write("我一定可以学会ASP<br>")

你的句子
response.Write("鎴戜细浜?) 没有结束。
应该为:
response.Write("具体内容")

少了后面的引号

是电脑的编码错误 ,能重行装个系统就OK了。