asp,请给出一段”On Error Resume Next”的实例,谢谢

来源:百度知道 编辑:UC知道 时间:2024/06/06 02:14:35
asp,请给出一段”On Error Resume Next”的实例

<%
On Error Resume Next
dim aa
set aa=Server.CreateObject("sadfasdfasdf") '此处瞎写的,肯定会产生错误 呵呵
if Err then
Err.Clear
response.write "创建对象失败!"
response.end
End if

%>