FILE*DATA -- This will tell the program to accept a file as the source of data stream. The file must be in the NSCL format, and either a BUFREAD subroutine to read this file format be linked into SMAUG or the correct format decoding file be read in via a FORMLOAD command so the generalized BUFREAD subroutine can read it.

‘What file to input? asks for the name of the file it is to read as the data stream input.

F*ORMDIS  -- This will display the present event decoding format that is in the program.

FORML*OAD -- This will replace the old event decoding format with new input.

‘Format line?’ asks the user for the event decoding format. The format of each line is;

b-mask, load-loc, load-len, comments
b-mask-- These are the bits that have to be set in the event bitmask for this format line to become active.
load-loc -- This tells the program where (which parameter number) to start loading the data into. SMAUG will automatically load the event bit mask as parameter 1. and LAM-- mask as parameter 2 if the values 1 and 2 for the load-loc are not used.
load-len -- This tells the program how many words of data to load.
comments -- This can be any character string preceded by  "!" mark used typically to describe the format lines. If the comments are not included, then the third comma can be left off.  The event decode format is typically stored in a file so that the user only has to define it once, and thereafter only has to remember the file name that he stored the format under.

FORMW*RITE -- This will write the event decoding format out to a specified file. Only the comments that come after actual data on the same line will be written out to the file.

‘File name?’ asks the user for the file name to use.