Re: timer system - any thoughts?

Scott Kelley wrote:

> Thad,
> Thanks for the info. Can you elaborate on the schedule logic? That's
> where I am hoping to get a better handle on how to set this up.

Create an ordered list of the scheduled events and just compare the
earliest time for action with the current time. Perform the action when
current time => current time.

The most difficult thing about this is when you add new items to the list
you have to re-sort the list.

Paul E. Bennett ....................<email://peb@xxxxxxxxxxxxxxxxxx>
Forth based HIDECS Consultancy .....<>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ....EBA.