Checking working hours vector subroutine example

Last Updated : Sep 08, 2012 |
Vector 20
 1. goto step 9 if time-of-day is all 23:00 to all 07:00
 2. goto step 9 if time-of-day is Friday 21:00 to sat 07:00
 3. goto step 9 if time-of-day is sat 16:00 to sun 07:00
 4. goto step 9 if time-of-day is sun 16:00 to mon 07:00
 5. goto step 7 if holiday in table 5
 6. return [call is during working hours]
 7. announcement 2001 [The XYZ Stores are closed on holidays.]
 8. goto to step 10 if unconditionally
 9. announcement 2001 [You have called after the XYZ Stores are closed.]
10. disconnect after announcement 2001 [Please call back during normal business hours: 7 am to 11 pm on 
Monday through Thursday, 7 am to 9 pm on Friday and 7 am to 4 pm on Saturday and Sunday.]