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


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

Re: Reporter quit problem

From Martin <News03@avisoft.f9.co.uk>
Subject Re: Reporter quit problem
Newsgroups comp.sys.acorn.programmer
Date 2012-01-02 23:25 +0000
Message-ID <524b7936f8News03@avisoft.f9.co.uk> (permalink)
References <7c73494b52.iyojohn@rickman.argonet.co.uk> <524b4a03caUCEbin@tiscali.co.uk> <mpro.lx6tbs03knzjk01kg.news@stevefryatt.org.uk> <524b68ba76UCEbin@tiscali.co.uk> <3b496d4b52.Alan.Adams@laptop.adamshome.org.uk>
Organization None

Show all headers | View raw


On 02 Jan, in article <3b496d4b52.Alan.Adams@laptop.adamshome.org.uk>,
   Alan Adams <alan@adamshome.org.uk> wrote:
> In message <524b68ba76UCEbin@tiscali.co.uk>
>           "John Williams (News)" <UCEbin@tiscali.co.uk> wrote:

> > In article <mpro.lx6tbs03knzjk01kg.news@stevefryatt.org.uk>,
> >    Steve Fryatt <news@stevefryatt.org.uk> wrote:

> >> Now just listen out Message_TaskCloseDown (&400C3) in your
> >> Wimp_Poll(Idle) loop...

> > I think the point which has been missed here is that, if Reporter is
> > NOT running, that only needs to be detected once and and an
> > appropriate message sent to the user - so the economies of constant
> > checking are unnecessary!

> > It is sufficient to avoid the 'rotor fall'-ing 'over in a heap'.

> I suspect the problem is one I've fallen into occasionally - while 
> working with lots of windows open, and debugging, the reporter window 
> needs to be quite large, and gets in the way. Usually I push it to the 
> back or minimise it, but occasionally by mistake I close it. The next 
> "*report" from the program causes the program to quit. Annoying.

It would be annoying ... but you are wrong!...

If you Close the Reporter window, it will open again if there is anything
new to Report.

If you Hide the Reporter window, it will close, but will only open again
(with any new messages) if a *ReportShow command is issued

If you Quit Reporter (or it aborts!) the window will close. Forever.

> Checking for reporter before issuing the command would be rather 
> tedious, and slow.

Agreed.

> Using the X SWI would be better.

Using SYS "XReport_Text0"  is another idea if only text is being Reported,
but if Basic variables are included they will not show the values.
 
> Steve's method adds virtually no overhead, and would be rugged.

Agreed.

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

Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 14:43 +0000
  Re: Reporter quit problem "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-01-02 15:50 +0100
    Re: Reporter quit problem Steve Fryatt <news@stevefryatt.org.uk> - 2012-01-02 20:09 +0000
      Re: Reporter quit problem "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-01-02 21:25 +0100
        Re: Reporter quit problem Steve Fryatt <news@stevefryatt.org.uk> - 2012-01-02 20:53 +0000
          Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:43 +0000
            Re: Reporter quit problem Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-01-03 00:27 +0100
              Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-03 11:11 +0000
                Re: Reporter quit problem Steve Drain <steve@kappa.me.uk> - 2012-01-03 11:58 +0000
        Re: Reporter quit problem Alan Adams <alan@adamshome.org.uk> - 2012-01-02 21:15 +0000
          Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-02 23:25 +0000
  Re: Reporter quit problem Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-01-02 15:16 +0000
    Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:31 +0000
  Re: Reporter quit problem Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2012-01-02 18:22 +0000
    Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:33 +0000
      Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-02 23:29 +0000
        Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-03 10:31 +0000
          Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-03 11:29 +0000

csiph-web