home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.programming      Programming issues that transcend langua      57,431 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 56,675 of 57,431   
   Richard Harnden to Ben Bacarisse   
   Re: A little puzzle.   
   24 Nov 22 19:00:32   
   
   From: richard.nospam@gmail.com   
      
   On 24/11/2022 14:59, Ben Bacarisse wrote:   
      
   >   
   > I'd like to find a way to pin it down in case I ever want to express the   
   > problem to someone else.  The case in point related to timed events   
   > where I only know the start and end minutes.  I needed to test if the   
   > current time's minutes was in any of the events.  So if there were three   
   > events running from   
   >   
   >     10 to 25,  30 to 50  and  55 to 05   
   >   
   > minutes past the hour then at 15 past we are in event 1.  At 35 past we   
   > are not in any event, and at 03 we are in event 3.   
      
   Isn't 35 within event 2? Or am I missing something?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca