RosettaCodeData/Task/A+B/AppleScript/a+b.applescript
2023-07-01 13:44:08 -04:00

7 lines
212 B
AppleScript

on run argv
try
return ((first item of argv) as integer) + (second item of argv) as integer
on error
return "Usage with -1000 <= a,b <= 1000: " & tab & " A+B.scpt a b"
end try
end run