3分岐選択
- display dialog “おして! ボタンは三つまで。“ buttons {“あ“, “い“, “う“} default button 1
- if the button returned of the result is “あ“ then
- display dialog “正解“
- — action for 1st button goes here
- else if the button returned of the result is “い“ then
- display dialog “違うよ“
- — action for 2nd button goes here
- else if the button returned of the result is “う“ then
- display dialog “それもありかな“
- end if
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー