next up previous 107
Next: Calibration
Up: Writing a Primitive
Previous: Temporary and intermediate files


Passing information between primitives

Since each primitive is evaluated in its own scope, it is not possible (or even desirable) to pass simple variables between separate primitives. Two means are provided for doing this:

The first method using the primitive hash only allows information to be passed within the current recipe whereas the frame header allows the information to be retained for subsequent frame processing.



next up previous 107
Next: Calibration
Up: Writing a Primitive
Previous: Temporary and intermediate files

ORAC-DR -- Programmer's Guide
Starlink User Note 233
Tim Jenness, Frossie Economou, Brad Cavanagh
Joint Astronomy Centre, Hilo, Hawaii
June 2004
E-mail:ussc@star.rl.ac.uk

Copyright © 2004 Particle Physics and Astronomy Research Council