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

ASP
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator
ASP Quick Ref
ASP 摘要
ASP 实例

ASP End 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 342 ::
收藏到网摘: 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

登陆 | 还没注册?