The application used in Tutorials 18, 19, 20 crashes, or comes up with confusing error messages, if a non-number is entered into the calculator. We can make this situation more user friendly by using an error catching technique. Using Try - Except can stabilize the program and tell the user what is happening if an error occurs. All code is available at www.schoolfreeware.com.
PLEASE NOTE: If you are just learning about programming and want to learn Pascal or Object Pascal, please visit the Pascal Programming for Schools website at www.pp4s.co.uk where you will learn all the skills needed before you can start your journey into the world of game programming.
Video Author: SchoolFreeware LLC