Actionscript if / else syntax Question
问题 Which of the following best translates the English statement "If it's rainy, we will watch a movie. Otherwise we will go to the park." a. if (rainy = true) { gotoAndStop ("movie"); } b. if (rainy == true) { gotoAndStop ("movie"); } c. if (rainy = true) { gotoAndStop ("movie"); } else { gotoAndStop ("park"); } d. if (rainy == true) { gotoAndStop ("movie"); } else { gotoAndStop ("park"); } My answer would be "d" - is that correct? 回答1: Yes, 'd' is the correct answer. The difference between =