Thursday, July 25, 2013
Module 9 Debugging and Error Handling
The above screen shots are the results of 2 scripts I was given in my GIS Programming course. The scripts provided, each had a number of errors to be corrected before they would run and print the results shown in the screen shots. The method I used to locate the problems was trail and error. Frist checking for syntax errors, and once all of those were corrected, I would attempt to run the script. I would interpret the message in the interactive window correct the error and attempt to run the script again. This method was repeated until the script ran successfully and printed the above messages.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment