Some notes:
Your borwser may display a funny symbol at the end of the program to be
copied. Its a result of the control Z that GWBasic places at the end of
a text file, is it will be in the Windows program file. It is no
problem whether it is there or not. Windows knows the difference.
Summary
This program example demonstrates how a program that is
known to generate an error message may ignore the error byusing our
own error handler. Our own error handler may also be used as an
effective development tool during the creation of a program. A program
may temperarily use the error handler to learn the behavior of the
program during developement.
When you are satisfied with the program, all the cute little
software hooks can be deleted so the program looks like the original
program example. Or, you just may wish to leave all the hooks intact in
case you want to make some changes in the program in the future. Thats
one advantage of doing your own programming. You can change the program
as often as you change your mind.