WRITES*PC -- This will write out a single spectrum and its data to disk.

‘Spectrum/File name?’ asks you for the spectrum name and the file name to write the spectrum out to. The two names should be separated by the '/' symbol or the program will assume that the input is only the spectrum name.

If you neglect to give the program a file name on the first prompt, it will prompt the user again if no file name is yet connected to that spectrum. (A file name is connected by either loading the spectrum in or writing it out to that file).

WRITED*EFINITION -- This will write out the present format for the write selected events option out to a file.
‘File to write to?’ asks you for the file name.

WRITEE*VENTS -- This command will activate the write selected events option of the program. The selected events will be written out in standard NSCL tape format, and can oe written to either a tape drive, or a file on the disk.

‘File name (rtn=tape)’ asks you for the file name that it is to write the events to. If no file name is given then the program will assume that you wish to write the events out to tape. The tape must already have been mounted, and have the logical name MT1 assigned to it.

‘Write format?’ asks you for the format with which SMAUG will select the events of interest. The format is as follows;
#b ,dl,d2,d3,d4, i1-i2,etc !Comments
#b ,d1,d2,d3,d4, i1-i2,etc/c-nam !Comments
#b ,dl,d2,d3,d4, i1—i2,etc\c—nam !Comments
#b -- This is the bit number that you wish to associate the event string dl,d2,d3,d4, i1-i2, etc. All the associated data HAS to be present ALL the time. The valid values are o to 15. If you specify a bit that already has a definition in the write selected event option, then the old definition will be overwritten. If you specify just the bit number and no data, then the old format (if any will be cancelled.
dl,d2,d3,d4 etc. - These are a list of parameter values for the EVENT data that the user wishes to select. i1-i2 — An alternative format to dl,d2,... It means that the user wishes all to select all the data between parameters i1 to i2.
c-nam The name of an optional condition. If present then the condition must be satisfied in addition to the specified pieces of data being present before the event is written out to file.
Example; 0, 3, 6, 10 - 12 / CHECK ONE
Bit 0 is to be composed of data from EVENT (3), EVENT (6), EVENT (10), EVENT (11), and EVENT (12). When all of these elements have data in it and the condition ‘CHECK ONE’ is tested true, then the program will write an event that will have bit #0 in the bitmask set.
IMPORTANT; The bits will be written only when ALL (underlined and repeated) ALL of the elements specified have data (zero or non-zero) in them. It will NOT write the event when there is only partial data.

WRITESH*OW-- This will print to the terminal the present format with which the program is writing selected events. Typing WS also call this option.

WRITES*TOP--Turns off the write selected events, option.  The write selected events option will automatically turn off after the present data stream reaches an end. E.g. the tape reaches the end of run or when the number of event processed satisfied the EVELIM option. Thus this command is useful only in the on-tine version where the program has to be told specifically that the user wishes the option to be turned off after the command WRITEEVENTS has been activated.