Documentation for schdtool


DEFINE
defines internal procedures, variables, and macros (optional) NEW

TIME-TO-PERIOD
takes a period and checks the time to see if its in the period, if not, it changes the time to the start time of the period

  1. (input) period-catalog BUFFER to synchronize the time to
  2. (input-output) time variable (type CHARACTER)
  3. (output - optional) Error Flag (type INTEGER)

PERIOD-TO-TIME
loads a period-catalog BUFFER corros. to the time

  1. (input) time to synchronize the period to (type CHARACTER)
  2. (input) building BUFFER of the period
  3. (output) period-catalog BUFFER to load
  4. (output - optional) Error Flag (type INTEGER)

COURSE-TO-TIME
returns stu-schd given date, time, and student _Check_The_Schedule's_Building_ On_Return_, it may be different than what you expect, this call will find courses in other bldgs

  1. (input) date in question (type DATE)
  2. (input) time in question (type CHARACTER)
  3. (input) StuBase.stu-seq
  4. (output) stu-schedule BUFFER
  5. (output - optional) Error Flag (type INTEGER)

COURSE-TO-PERIOD
this function finds the stu-schd at the same TIME as the period that you pass. It does NOT check to see if the stu-schd is in the same building as the period you pass. If there is a no course for this student in the period's building at this time, OR if there is a scheduling conflict, the function may return a stu-schd from a different building (it always returns the first record that it sees) TO AVOID THIS PROBLEM, do not schedule conflicts, and recheck the building of the schedule on return, then resync the period

  1. (input) date in question (type DATE)
  2. (input) period buffer (type period-catalog)
  3. (input) StuBase.stu-seq
  4. (output) stu-schedule BUFFER
  5. (output - optional) Error Flag (type INTEGER)

PERIOD-TO-COURSE
loads a period-catalog for the stu-schd and date

  1. (input) date in question (type DATE)
  2. (input) stu-schedule BUFFER
  3. (output) period-catalog BUFFER
  4. (output - optional) Error Flag (type INTEGER)


Last update: October 31, 1995