Soar files for making a calendar
- calendar1.soar is the first basic
version, which is not well organized, and puts 31 days in every month.
- calendar2.soar has a bug, which is that
only one day per month will show up.
- calendar3.soar creates all 365 days, but
the days are not separate objects, but are all attributes of the month.
- calendar4.soar is the same as calendar3.soar,
but with dot notation.
- calendar5.soar adds the days of the week for each
date, e.g. January 1 is Wednesday. This requires making each day a separate object.
- calendar6.soar adds train schedules for Fridays
and the July 4 holiday. Since July 4 is also a Friday, both the Friday trains and
the holiday trains are scheduled on July 4, which is wrong.
- calendar7.soar modifies calendar6.soar to use
operators, so that a choice can be made between scheduling the holiday trains
or the Friday trains. The holiday trains are preferred.