ICL utility procedures can be written simply to perform sequences of spectrograph tasks. For example,
: PROC name ... give new procedure name
name> SF1 5 ... input spectrograph commands
name> ARC THAR ... until ...
name> END PROC ... you end the procedure entry.
:
... or ...
proc star
startobey (p1) (m1) echelle tv_mirror slit
startobey (p2) (m2) echelle lamp_on none
endobey (p2) (m2)
endobey (p1) (m1)
print "Mirror slide removed from beam"
print "Arc lamps turned off"
end proc
All procedures that are written by users will be saved on exit from ICL in a file called SAVE.ICL. To load procedures defined in a previous session, simply type `LOAD SAVE'. For further details, refer to the ICL Manual.