Exit
Previous  Next

Description: Exits out of the current <ScopeType>.

     Syntax:

Exit <ScopeType>

Part
Description
<ScopeType>
Required. Valid <ScopeType>'s are:
  • Do, Loop
  • For
  • Function
  • Select, Case
  • Sub
  • Wend

Example:

        Do
                x++
                If x = 5 Then Exit Do
        Loop
        Print x