|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Fri Jun 19, 2009 11:08 pm
#PICK Cancel |
I have a script that uses a #pick, #prompt, and #yesno. Basically it asks some questions. However, the problem is if I cancel out of the #pick I don't want the script to continue and show the #prompt and #yesno. How do I do that? I don't see an option for the cancel button to put in an exit for the script.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Jun 19, 2009 11:36 pm |
#ABORT 1 is about your only option if you want to stick with those commands, but that might not always work for you.
Option #2 is where you stop using the commands in favor of their equivalent functions, which can record their answers to variables that you then validate. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|