Spice_icon SPICE
Spectrometer Instrument Control Environment


comment:

The comment command appends a text comment to the logfile.

The syntax for the comment command is:

     comment "This is the comment"  [title "This is the title"]

where the comment to be added and the optional title must be in quotes.



The comment command can also be accessed from the GUI by selecting the Notes top-level tab.  The comment can be added to the logfile in 3 ways which are selected from the Method pull-down menu:

1. Insert into logfile *NOW* - this option doesn't issue the comment command but rather writes the comment text directly into the logfile.
2. Append to logfile following completion of current command - this option issues a comment command but places the command at the top of the command-stack so that it is the next command executed.
3. Append to logfile after completion of all input commands - this option issues a comment command at the end of the command stack to be executed following all other commands wating to be executed.

Once the appropriate method is chosen and the comment text written in the text box, the comment is added by clicking on the blue Insert Comment using method specified below button.

GUI interface to comment