Hi All,
I've found a slick way to turn on trance nested deeply in my code
controlled by the NAME setting
In some code module I could say:
IF (CVAL('NAME')) = 'CustEditTrace' THEN
TRACE
ENDIF
If I issue the command
SET NAME CustEditTrace
at the R> before running my app (my app does not alter NAME)
Then when the code hits the test statement above it will start trace
mode.
Using NAME rather than a variable is very powerful. I've greatly
enhanced my produtivity using this trick. I've got these statement
troughout my code with different trigger names.
I just add them as I need them and never have to throw them away as
they only affect execution when one of the special names is used.
Dennis McGrath