MODIFY HEADER

###
MODIFY HEADER

            CLIC\MODIFY HEADER procedure

        This is a general command to edit the header of the scans in the current
        index..  CLIC enters a loop in which all the headers  are  read  succes-
        sively.   For  each  header the procedure 'procedure' (default extension
        ".clic") is executed.  This procedure may  only  contain  the  following
        commands  : DUMP, HEADER, GO, or any SIC command that acts on variables.
        Especially, variables defined by the VARIABLE command can be modified...

        The command GO [WRITE] must end the procedure.  With GO WRITE, the  scan
        header will be updated; with only GO, the scan header is not updated and
        CLIC loads the next scan header in the current index.  If no GO  command
        in  encountered  in the procedure, the loop is aborted.  If a PAUSE com-
        mand is found in the procedure, the PAUSE is executed,  but  the  prompt
        changes  to  "MODIFY>".  The same commands as above may then be executed
        from the keyboard; "QUIT ALL" may be used to abort the loop.