Save your program under some name before you execute it.
If there are errors in your program, the code line containing the error will be highlighted.