The specifications that you can provide on the Variables for Vectors screen for the variables used in this example are shown in the following table.
Variable |
Description |
Type |
Scope |
Length |
Start |
Assignment |
tod or dow variables |
T |
Current time of day |
tod |
G |
|
|
Obtains the current time of day from the system clock in 0000 - 2359 format |
D |
Current day of the week |
dow |
G |
|
|
Obtains the current day of week in 1- 7 format (1=Sunday) |
Start time or close time variables |
O |
Opening time, all days of week |
collect |
G |
4 |
1 |
0700 |
L (In the current example, Monday through Thursday closing time defines an upper bound on the latest possible closing time for any day of the week. Therefore, variable designation L is used to signify the latest possible closing time.) |
Closing time, Monday through Thursday |
collect |
G |
4 |
1 |
2300 |
F |
Closing time, Friday |
collect |
G |
4 |
1 |
2100 |
W |
Closing time, Saturday and Sunday |
collect |
G |
4 |
1 |
1600 |