This is not allowed:
Code: Select all
on mouseUp
answer "Whatever" with "OK" or "Cancel" or "3" = "3"
end mouseUpCode: Select all
ask "Whatever" with "3" = "3"Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp
answer "Whatever" with "OK" or "Cancel" or "3" = "3"
end mouseUpCode: Select all
ask "Whatever" with "3" = "3"Almost odd that forcing evaluation works at all. It seems like it should either take the button name as a literal, or (as I first thought) as an expression referencing a button name, but not something in between. Always another nuance to be aware of...The name of the button the user chooses is placed in the it variable.