Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Exit script if cancel is hit.

Avatar

20-06-2008

I have a form with several buttons, each of which takes the user through a series of prompts using the app.Response function. Is there a way to exit the function and not run any further code (other than a large series of if-loops) if the user presses the cancel button for one of the prompts?



Thank you



Paul Washburn.

Replies

Avatar

23-06-2008

Managed to find it, in case anyone else needs to know the command was



quit();