Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information