RosettaCodeData/Task/A+B/AppleScript/a+b.applescript

8 lines
212 B
AppleScript
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
on run argv
2016-12-05 22:15:40 +01:00
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
2015-11-18 06:14:39 +00:00
end run