注册 登录
编程论坛 ASP技术论坛

新手上路,请教个问题。

shifan3221 发布于 2012-12-12 15:14, 485 次点击
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.
<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body>
  <%
  If 2>1 Then Response.write "是数字"
  Else Response.write "不是数字"
  %>
 </body>
</html>
这样写提示程序有错,为什么?
2 回复
#2
wangjy5002012-12-12 17:22
缺少end if
#3
血契2012-12-26 21:46
错误提示要发出来嘛,不发这么知道什么错误。
好像RESPONSE对象语句结束要加上RESPONSE.END
1