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


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

Re: Director's Calendar - weird bug

From Paul Sprangers <Paul@sprie.nl>
Subject Re: Director's Calendar - weird bug
Newsgroups comp.sys.acorn.programmer
Date Tue, 02 Aug 2022 15:36:24 +0200 (Custom)
Message-ID <5a11ad2c7ePaul@sprie.nl> (permalink)
References <c8cf64115a.harriet@bazleyfamily.co.uk> <483b6a115a.harriet@bazleyfamily.co.uk>
User-Agent Pluto/3.18 (RISC OS/5.29) NewsHound/v1.52-32
Organization None
Path csiph.com!news.mixmin.net!sewer!alphared!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines 21
Injection-Date Tue, 02 Aug 2022 15:39:14 +0200
Injection-Info news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes 1228
Xref csiph.com comp.sys.acorn.programmer:6397

Show key headers only | View raw


In article <483b6a115a.harriet@bazleyfamily.co.uk>,
   Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:

To me, the code doesn't look extremely efficient. For example, the redraw
routine will never be called, as the window consists of icons only.

Anyhow, it seems that this small change may work, as far as I've tested it
(admittedly, not very far):

  date% = VAL(MID$(time$,5,2))
  IF date% > 1 THEN
     FOR n=date% TO 2 STEP -1
       PROCcalday_change(-1)
     NEXT n
  ENDIF

Paul

-- 
https://riscos.sprie.nl

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


Thread

Re: Director's Calendar - weird bug Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-02 02:25 +0100
  Director's Calendar - weird bug Martin <News03@avisoft.f9.co.uk> - 2022-08-02 11:04 +0100
    Re: Director's Calendar - weird bug Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-02 12:06 +0100
  Re: Director's Calendar - weird bug Paul Sprangers <Paul@sprie.nl> - 2022-08-02 15:36 +0200
    Re: Director's Calendar - weird bug Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-02 18:45 +0100
      Director developers (was: Director's Calendar - weird bug) Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-02 20:58 +0100
        Re: Director developers Theo <theom+news@chiark.greenend.org.uk> - 2022-08-04 17:04 +0100
          Re: Director developers Steve Fryatt <news@stevefryatt.org.uk> - 2022-08-04 20:42 +0100
            Re: Director developers Theo <theom+news@chiark.greenend.org.uk> - 2022-08-05 00:00 +0100
            Re: Director developers druck <news@druck.org.uk> - 2022-08-05 12:18 +0100
      Re: Director's Calendar - weird bug Paul Sprangers <Paul@sprie.nl> - 2022-08-03 09:17 +0200
      Re: Director's Calendar - weird bug Martin <News03@avisoft.f9.co.uk> - 2022-08-03 13:38 +0100
        Re: Director's Calendar - weird bug Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-03 14:16 +0100
          Re: Director's Calendar - weird bug Martin <News03@avisoft.f9.co.uk> - 2022-08-03 16:00 +0100
            Re: Director's Calendar - weird bug Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-08-03 23:35 +0100
          Re: Director's Calendar - weird bug Paul Sprangers <Paul@sprie.nl> - 2022-08-03 20:02 +0200

csiph-web