帮我看看这段代码哪里出错了?
<form name="form1" method="post" action="2.asp"><p>操作数1:
<input type="text" name="Num1">
</p>
<p>操作数2:
<input type="text" name="Num2">
</p>
<p>选择你所要进行的操作<br>
<input Type=radio Name=operation value="加" checked>加<br>
<input Type=radio Name=operation value="减">减<br>
<input Type=radio Name=operation value="乘">乘<br>
<input Type=radio Name=operation value="除">除<br>
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</p>
</form>
<Hr>
<%
dim intN1,intN2,strOp
if Request.form.count=0 then
Request.end
end if
intN1=Request.form("Num1")
intN2=Request.form("Num2")
strOp=Request.form("operation")
if strOp="加" then
response.write intN1&"+"&intN2&"="&clng(intN1)+clng(intN2)
elseif strOp="减" then
Response.Write intN1&"-"&intN2&"="&clng(intN1)-clng(intN2)
elseif strOp="乘" then
Response.Write intN1&"*"&intN2&"="&clng(intN1)*clng(intN2)
elseif strOp="除" then
Response.Write intN1&"/"&intN2&"="&clng(intN1)/clng(intN2)
end if
%>
[此贴子已经被作者于2005-3-3 21:10:39编辑过]