Forget Quantity







Syntax




   FORGET QUANTITY @name


Description




Once a quantity has been defined with the NEW QUANTITY command, you can not accidently corrupt its definition. To remove a quantity, you must tell PERCY to forget its definition. This is accomplished with the FORGET command.

If you simply want to overwrite the definition of a quantity, use the NEW! QUANTITY command.



Examples




If you are in the habit of producing a standard report for various objects you might create a PERCY command procedure for defining it. In such a case the FORGET REPORT and FORGET QUANTITY commands would be used at the beginning of the report definition. Below illustrates how you might use symbols to define this standard report. Note we "protect" most of the commands to avoid possible symbol definition conflicts.

 
   ;
   ;  This report assumes that the symbols OBSERVER and BODY have
   ;  been defined.
   ;
   @FORGET QUANITYT TIME@;
   @FORGET QUANTITY RA@;
   @FORGET QUANTITY DEC@;
   @FORGET QUANTITY ELONGATION@;
 
   @FORGET REPORT STANDARD@;
 
   @NEW QUANTITY TIME       DESCRIPTION TIME FORMAT UTC HEADING Time@;
 
   @NEW QUANTITY ELONGATION DESCRIPTION ELONGATION OF@    BODY
                                                @FROM@ OBSERVER
                                                @FORMAT XXXX.XXXX
                                                 UNITS DEGREES
                                                 HEADING Elongation@;
 
   @NEW ENTRY RA  DESCRIPTION J2000 RIGHT ASCENSION
                                                 OF@   BODY
                                                @FROM@ OBSERVER
                                                @FORMAT XXXX.XXXX
                                                 UNITS DEGREES
                                                 HEADING R.A.@;
 
   @NEW ENTRY DEC DESCRIPTION J2000 DECLINATION  OF@   BODY
                                                @FROM@ OBSERVER
                                                @FORMAT XXXX.XXXX
                                                 UNITS DEGREES
                                                 HEADING Dec.@;
 
   @NEW REPORT STANDARD ENTRIES TIME ELONGATION RA DEC@;
 


Related Topics




  1. New Quantity
  2. About Reports
  3. The Percy Help System