Jump to content

Is there a way to exit a function (not the whole script)?


h711
 Share

Recommended Posts

I have a script that made by a number of functions. At some point, when condition met, I need the script to exit a function and return to main. If I use "exit", it will exit the whole script. This is not what i need.

Any ideas? Thanks!

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...