→ MOONRAKER:真令人懷念。聽說這東東還有日文版,文法也是日文式的 10/14 14:35
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.39.155.241
AppleScript 而且還是發音版喔~~
#Input
say "Hello! Please enter your weight in kilogram."
set kilogram to text returned of (display dialog "Enter your weight in kilogram" buttons "OK" default answer "")
set pound to (round (kilogram / 0.454))
#Output
say "Your weight is"
say kilogram
say "kilogram."
say "Your weight is"
say pound
say "pound."
--