Re: Try/Catch
- Posted by katsmeow Feb 13, 2015
- 4302 views
dcuny said...
... case OPEN_FILE then try open_file(fileName) catch e alert("The file " & fileName & " could not be opened. " & e[EXCEPTION_MESSAGE]) end try ...
Great simple examples, but both can be done now with an equal amount of if-then. How about another real-world example, somewhat longer, that cannot be done as well with if-then?
Kat