Exceptions: Difference between revisions

Content added Content deleted
(Added AppleScript version)
Line 5: Line 5:
==[[AppleScript]]==
==[[AppleScript]]==
[[Category:AppleScript]]
[[Category:AppleScript]]
try
set num to 1 / 0
--do something that might throw an error
end try

try
try
set num to 1 / 0
set num to 1 / 0