标题:关于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



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-322219-1-1.html




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

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