Jump to content

Exit from nested IF


Recommended Posts

I've got a script without any GUI's that I do a lot of checking in, so I have If - thens inside of If - Thens. On one check inside of a nested If - Then, I have cause to EXIT the script, But doing this:

If (some first event) Then
   If (some second event) Then
      EXIT 
   Endif
Endif
leaves me still in the script even though I have exited the app. Not cool! Can anyone help me out. (Yes, I know which way I came in.) I've always had trouble exiting this kind of thing, no matter what language.

TIA

Heisenberg was probably right...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...