| Subject |
ON ERROR |
| From |
Steve <nospam@nospam.com> |
| Date |
Wed, 23 Feb 2022 18:55:08 -0500 |
| Newsgroups |
dbase.getting-started |
I have some ON ERROR code to catch errors. I run SET ALTE TO a file and SET ALTE ON to catch ? commens in the code.
E.G., my starting prg starts out with SET ALTE TO a file and SET ALTE ON. It also includes a class ErrHandler for handlin errros with a function:
function globalErrorTrap(cPrg,nLine,nError,cMsg)
This function has a number of lines of code to write info to the SET ALTE TO file like:
? "Ready to run..."
To allow me to track progress thru the code. But, none of these comments are writing out to the SET ALTE TO file. These comments do write out when not in the error trap but not while in the error trap.
Can someone let me know what I am doing wrong?
Thanks in advance for any help on this,
Steve
|
|