FORGET SCHEDULE @schedule
This command frees the resources allocated to a schedule for use by other
schedules. This is important because the program can maintain only a limited
number of schedules at any one time.
Temporary schedules, which tend to proliferate during a session, should be forgotten as soon as they are no longer needed. (Temporary schedules created by command procedures should be forgotten by the procedures that create them.
In the following example, temporary schedules created during the course of a
procedure are forgotten as soon as they outlive their usefulness.
; ; Find all intervals bounded by the default interval during ; which the satellite SAT is not occulted by, eclipsed by, ; or in transit across planet PLN as seen from OBSERVER, ; placing the intervals in window CLEAR. ; ; Begin by finding the intervals during which the satellite ; is NOT occulted or in transit. ; FIND CLEAR SEPARATION OF SAT BY PLN FROM OBSERVER GREATER THAN 0 STEP SIZE STEPSIZE; ; ; Look for (and eliminate) intervals during which the satellite ; is eclipsed. Limit the search to the intervals found so far. ; FIND ECL ECLIPSE OF SAT BY PLN FROM OBSERVER WITHIN CLEAR STEP SIZE STEPSIZE; LET NOT_ECL = ECL COMPLEMENT; FORGET SCHEDULE ECL; LET CLEAR = CLEAR * NOT_ECL; FORGET SCHEDULE NOT_ECL;