Scheduled Activities
version 9 by John Clemens
Section 5 - Canceling activities
To cancel all scheduled events for (T - object):
repeat through the Table of Scheduled Events:
if there is a SA_Target entry and the SA_Target entry is T, blank out the whole row.
To cancel all scheduled events:
repeat through the Table of Scheduled Events:
blank out the whole row.
To cancel next timed event for (T - object):
repeat through the Table of Scheduled Events in SA_Moment order:
if there is a SA_Target entry and SA_Target entry is T:
blank out the whole row;
rule succeeds.
To cancel next timed event:
repeat through the Table of Scheduled Events in SA_Moment order:
blank out the whole row;
rule succeeds.
To cancel all scheduled (E - activity):
repeat through the Table of Scheduled Events:
if there is an SA_Event entry and the SA_Event entry is E, blank out the whole row.
To cancel all scheduled (E - activity on objects):
repeat through the Table of Scheduled Events:
if there is an SA_Object_Event entry and the SA_Object_Event entry is E, blank out the whole row.
To cancel all scheduled (E - activity on objects) for (T - object):
repeat through the Table of Scheduled Events:
if there is a SA_Target entry and the SA_Target entry is T and there is an SA_Object_Event entry and the SA_Object_Event entry is E, blank out the whole row.
To cancel all scheduled events at (M - time):
repeat through the Table of Scheduled Events:
if there is a SA_Moment entry and the SA_Moment entry is M, blank out the whole row.
To cancel all scheduled events for (T - object) at (M - time):
repeat through the Table of Scheduled Events:
if there is a SA_Target entry and the SA_Target entry is T and there is a SA_Moment entry and the SA_Moment entry is M, blank out the whole row.