code optimisation - stuck.

 boo = clock1.alarms.[i].dow);

I'm guessing the compiler isn't too keen on that line.

Your loop runs from zero to three, but you test "boo" from zero to four.