ASSIGNMENT







Syntax




   LET @schedule = @schedule
 
   LET @schedule = $DEFAULT


Description




The assignment command duplicates the intervals in an existing schedule under a new name. If a schedule with the new name already exists, it is overwritten. Note that the annotation is NOT copied.

The syntax

   LET @schedule = $DEFAULT
provides a mechanism for placing the default interval into a schedule. This version of the copy command should used whenever you want to perform schedule algebra on a schedule that involves the default schedule.



Examples




The copy command is typically used to make a copy of a schedule before changing it. In the following example, the schedule ALLCLEAR contains intervals when all of the Galilean satellites are clear (not occulted, eclipsed, or in transit). ALLCLEAR is the starting point for the derivation of a pair of new schedules satisfying constraints specific to two of those satellites (Io and Callisto).

   IMPORT GALILEAN_VISIBLE_1990.WIN AS ALLCLEAR;
 
   LET IO_TEMP =  ALL_CLEAR;
    .
    .
   EXPORT IO_TEMP TO IO_HST.WIN;
 
   LET CALLISTO_TEMP = ALLCLEAR;
    .
    .
   EXPORT CALLISTO_TEMP TO CALLISTO_HST.WIN;
 
   FORGET SCHEDULE ALLCLEAR;


Related Topics




  1. About Schedules
  2. New Schedule
  3. Import
  4. The Percy Help System