| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 858 人关注过本帖
标题:关于response.end的疑问
取消只看楼主 加入收藏
cssart
Rank: 1
等 级:新手上路
帖 子:47
专家分:5
注 册:2008-10-11
结帖率:41.67%
收藏
已结贴  问题点数:5 回复次数:1 
关于response.end的疑问
各位好:

平时用 response.end() 并不多,不知道它后面的括号是不是可以省略?写成这样:
response.end

另外,看这段代码,我没有加后面的“()”,会不会出现什么问题?
if txje = "" then
 response.write("<script>alert('请输入提现金额!');window.history.go(-1);</script>")
 response.end
elseif session("yue") = 0 then
 response.write("<script>alert('您的帐户中无可用余额!');window.history.go(-1);</script>")
 response.end
elseif session("yue") - txje < 0 then
 response.write("<script>alert('您的提现金额超过可用余额!');window.history.go(-1);</script>")
 response.end
end if


搜索更多相关主题的帖子: response end 疑问 
2010-10-08 10:12
cssart
Rank: 1
等 级:新手上路
帖 子:47
专家分:5
注 册:2008-10-11
收藏
得分:0 
呵呵,当然测试,测试成功,但是我想知道标准语法。
2010-10-08 10:55
快速回复:关于response.end的疑问
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011627 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved