Answer with "No" or "Yes" ... quit on Yes
Posted: Sat Apr 20, 2013 12:44 am
My 11 year old and I can not figure out how to quit the app when a user clicks the "Yes" button in our answer sheet.
That's basically what we want to do. We've tried every imaginable permutation of this simple if statement and can't get the Yes button to respond. Thank you.
Code: Select all
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or Yes" as sheet
// clicking "Yes" causes the app to quit
// if "yes"
// then quit
end mouseUp