Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #495

Re: Using !Reporter with Wimp Program

From Martin <News03@avisoft.f9.co.uk>
Subject Re: Using !Reporter with Wimp Program
Newsgroups comp.sys.acorn.programmer
Date 2011-07-01 13:42 +0100
Message-ID <51ebf8bae2News03@avisoft.f9.co.uk> (permalink)
References <3634e8eb51.cferris@cferris.freeuk.com>
Organization None

Show all headers | View raw


On 01 Jul, in article <3634e8eb51.cferris@cferris.freeuk.com>,
   <cferris@freeRemoveuk.com.invalid> wrote:
> What is the best method of using !Reporter with a BASIC Wimp program?

> ie - a way of avoiding showing all the WimpPoll returns.

Reporter will only report what it has been asked to do!

If you have some *Report commands that get processed every Wimp Poll, you
will see how often your program is polled! You can ... 
- remove/comment the *Report commands, 
- move them to where you DO want to know about 
- mask out the Null reason code (should always do unless needed)
- change to PollIdle with a larger delay time!

I use Reporter extensively here (but then I would!) for debugging a
30,000 line Basic program with hundreds or *Report commands, but usually
I do not have any within the Null Poll code unless I REALLY need them.

Martin

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Using !Reporter with Wimp Program cferris@freeRemoveuk.com.invalid - 2011-07-01 10:42 +0100
  Re: Using !Reporter with Wimp Program Paul Sprangers <Paul@sprie.nl> - 2011-07-01 14:20 +0200
  Re: Using !Reporter with Wimp Program Martin <News03@avisoft.f9.co.uk> - 2011-07-01 13:42 +0100
    Re: Using !Reporter with Wimp Program cferris@freeRemoveuk.com.invalid - 2011-07-01 14:44 +0100
      Re: Using !Reporter with Wimp Program Martin <News03@avisoft.f9.co.uk> - 2011-07-01 15:39 +0100

csiph-web