Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Statements
Do....Loop Statement
For Each....Next Statement
For....Next Statement
Function Statement
Sub Statement
STATEMENT: Exit
Implemented in version 1.0
Exit
The
Exit
statement allows you to exit from inside a block of code such as a conditional statement (
Do ...Loop, For ... Next, For Each ... Next
) or a procedure (
Function, Sub
) before it would normally be completed.
This allows you to exit from inside a
Do Until ... Loop
.
Code:
<% Exit Do %>
This allows you to exit from inside a
Do While ... Loop
.
Code:
<% Exit Do %>
This allows you to exit from inside a
For ... Next
.
Code:
<% Exit For %>
This allows you to exit from inside a
For Each ... Next
.
Code:
<% Exit For %>
This allows you to exit from inside a
Function
.
Code:
<% Exit Function %>
This allows you to exit from inside a
Sub
.
Code:
<% Exit Sub %>
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information