23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

324 APPENDIX D. GUIDELINES FOR WRITING CIA ROUTINES<br />

D.3 How to write a header<br />

In order for automatic formatting programs to work, as well as for purposes of standardisation,<br />

these rules must be followed in all headers.<br />

• A header begins with ;+ and ends with ;-<br />

• There is only one header per file, regardless of the number of routines contained therein.<br />

It may be anywhere in the file, but most programmers prefer to find it at the top.<br />

• The keywords are:<br />

; NAME:<br />

; PURPOSE:<br />

; CATEGORY:<br />

; CALLING SEQUENCE:<br />

; INPUT:<br />

; OPTIONAL INPUT:<br />

; KEYED INPUT:<br />

; KEYED OUTPUT:<br />

; OUTPUT:<br />

; OPTIONAL OUTPUT:<br />

; EXAMPLE:<br />

; ALGORITHM:<br />

; DEPENDENCIES:<br />

; COMMON BLOCK:<br />

; SIDE EFFECT:<br />

; RESTRICTION:<br />

; CALLED PROCEDURE:<br />

; SEE ALSO:<br />

; MODIFICATION HISTORY:<br />

Note that the space and the upper case are compulsory, but you can add extra characters,<br />

i.e. ; KEYED INPUTs: is correct, but not ; KEYED Input:<br />

• The field of the keyword ; CATEGORY: is defined in the file category.txt. Thisfilecanbe<br />

found in the document directory of the CIA distribution. The ; CATEGORY: field should<br />

also specify whether the routine is ‘User’ or ‘Internal’, for example:<br />

; CATEGORY: III-2 User<br />

• The compulsory keywords are:<br />

; NAME:<br />

; PURPOSE:<br />

; CALLING SEQUENCE:<br />

; INPUT:<br />

; OUTPUT:<br />

; EXAMPLE:<br />

; MODIFICATION HISTORY:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!