当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP End 方法

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP End 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 361 ::
收藏到网摘: n/a

The End method stops processing a script, and returns the current result.
End指令的作用是结束脚本进程,返回当前结果

Note: This method will flush the buffer if Response.Buffer has been set to true. If you do not want to return any output to the user, you should call Response.Clear first.
注意:如果Response.Buffer设置为true,那么这个指令将会直接输出缓冲(Buffer)结果;如果你不希望返回任何结果给用户,那么你首先需要使用Response.Clear命令。

Syntax
语法

Response.End

Examples
举例

<html>
<body>
<p>I am writing some text. This text will never be
<%
Response.End
%>
finished! It's too late to write more!</p>
</body>
</html>

Output:

I am writing some text. This text will never be 

评论 (0) All

登陆 | 还没注册?