Exceptions: Difference between revisions

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