Turning debugging Message comments on and off
Robert Ameeti
Robert at Ameeti.net
Mon Feb 25 07:25:16 PST 2008
And what will work best for me is ... Gary's idea!
Thanks Gary and everyone else who offered their method. My goal was
to have as little code as possible in the procedures without worrying
too much about the additional 'get ready' that is easily absorbed in
the later benefits.
Using the FileGlobal will allow me to use the call statement with the
smallest amount of intrusion into the 'real' code.
>On 25/02/2008, at 5:32 AM, Gary Yonaites wrote:
>
>>Here is a method that is a little more involved than those proposed
>>but should be much easier to use once set up. First I make a new
>>procedure that I name .message. This procedure looks like this:
>
>>Define debugmessage,"off"
>>If debugmessage="on"
>> message parameter(1)
>> Endif
>>
>> Any place I want to use a debug message I simply use a line like this:
>>
>> call .message,"How now brown cow?"
--
<><><><><><><><><><><><><><><><><><>
Robert Ameeti
God loves stupid people. That's why he made so many.
<><><><><><><><><><><><><><><><><><>
More information about the Qna
mailing list