Day of Week Document
A day of week document contains multiple documents each qualified with a particular day of the week. When accessed, a day of week document evaluates the current day of the week and accesses a single prompt from its list. The document selected is based on a day range starting at the day specified until the day specified by the subsequent document in time or until the end of the week if this is the last document. The week starts on Sunday.
The order of the operands is not important in determining the beginning or end of a range. The expression parser puts them back in the proper chronological order based on the specified day of week used when qualifying each one of the document operands.
The 3-letter abbreviations for the day of the week variable to be pasted into the expression are: MON, TUE, WED, THU, FRI, SAT, SUN.
For example, the document expression:
DOC[D1.txt] @ MON || DOC[D2.txt] @ TUE || DOC[] @ THU
-
On Sunday nothing can be accessed.
-
On Monday, DOC[D1.txt]can be accessed. (DOC[D1.txt] @ MON)
-
On Tuesday and Wednesday, DOC[D2.txt] can be accessed. (DOC[D2.txt] @ TUE)
-
The rest of the week nothing can be accessed. (DOC[] @ THU)