#12000/12/5 14:40:30
据说在 otherwise语句后面加一个冒号会使语句更加优化,能告诉我下面两个例子的主要区别么?
on keyDown
case (the key) of
"A": go to frame "Apple"
"B", "C":
puppetTransition 99
go to frame "Oranges"
otherwise:
alert "That is not a valid key."
end case
end keyDown
-----------------------------------------
on keyDown
case (the key) of
"A": go to frame "Apple"
"B", "C":
puppetTransition 99
go to frame "Oranges"
otherwise
alert "That is not a valid key."
end case
end keyDown