>G'day.
>
>My understanding is that you are trying to restore the setting back so that it is as if it was never turned off. In that case you have to always use the Additive clause. If you don't then anything that your program has written into the log before your routine runs will be destroyed. When you use Set DebugOut or Coverage normally you do have to choose if you want Additive or not, but because what you are trying to do here is restore the setting you must use the Additive option to prevent the data you have already written from being destroyed. As soon as you execute a Set Debugout or Coverage statement without the Additive clause the log file is emptied, which is obviously not what you want if you are trying to make your routine transparent.
>
>Ian Simcock.
>
A restore could mean to SET back to a previously set output file. It does not need to be always between ON and OFF.
My concern is when SET("DEBUGOUT") returns non-blank string, how do I know that SET DEBUGOUT is called with or without ADDITIVE clause?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only