Is it possible to use a YES/NO comment to branch around a portion of a program? I don't want to have to do any gymnastics to get this done. I have a program that runs sub assemblies and one of these subs sometimes has a bracket on it that I want to skip the measurements on IF it isn't there.
If you normally skip the section of code, word it such that the answer "yes" will skip it.
"Do you want to skip..."
Rather than
"Do you want to run..."
That way, when you run the program depressing the 'done' button or hitting enter on the keyboard will skip it since "yes" is the default highlighted answer.
Another tip, if you are going to be using this on several programs, keep the wording the same so that when it pops up and they don't read it because they
think they know what it says, you don't get called about a crash.
If you normally skip the section of code, word it such that the answer "yes" will skip it.
"Do you want to skip..."
Rather than
"Do you want to run..."
That way, when you run the program depressing the 'done' button or hitting enter on the keyboard will skip it since "yes" is the default highlighted answer.
Another tip, if you are going to be using this on several programs, keep the wording the same so that when it pops up and they don't read it because they
think they know what it says, you don't get called about a crash.