Well, after fiddling with this for a few hours last night, and letting the test run overnight, I think I figured out what to do. The light bulb finally came on once I realized that all I needed to do was test the one's digit of the minutes to see if it a 0 or a 5. I know it uses more lines of code, but it is something I understand (math isn't my best subject!). Anyway, here is what I came up with. Now I just have to insert it in the proper places in my other program; and hope it works. Thanks, Mike
TimeRecheck:
SLEEP 30
HHMM$ = LEFT$(TIME$, 5): PRINT HHMM$
IF HHMM$ <> "22:45" GOTO TimeRecheck
PRINT
'
' This should probably be before the start of the looping
'
PRINT "Time to start the 5 minute counter"
'
loop1:
IF VAL(MID$(TIME$, 5, 1)) = 0 GOTO loop2
IF VAL(MID$(TIME$, 5, 1)) = 5 GOTO loop2
_DELAY 10
GOTO loop1
loop2:
PRINT TIME$ 'Do all the stuff here maybe??????
loop3:
IF VAL(MID$(TIME$, 5, 1)) = 0 OR VAL(MID$(TIME$, 5, 1)) = 5 GOTO loop3
GOTO loop1