BEGINIF Time Is Now Alarm-Clock Time    ->Start if the time has just changed to Alarm Time
If Alarm-Clock Is On                    ->and the alarm clock is on
Then Timer, Sunrise Set 20              ->All the work in our alarm clock is based upon
;Then Alarm-Clock Timer Set 900         ->a timer and not done here...
;----------------------------------------------------------------
; This section re-arms the alarm clock for the next day.
;----------------------------------------------------------------
If Day Is GE Sunday                     ->This works great right out of the box.  The
And Day Is LE Thursday                  ->change I will eventually make is to add the
Then Alarm-Clock Set On                 ->ability to check for holidays so we can sleep in.
Else Alarm-Clock Set Off
ENDIF