Commands found in Most Examples
The purpose here is to document several commands which are used in most of the examples. The first part of most of the command files are comment lines. All comment lines begin with a $ symbol and are thus ignored by the program. Following the three lines of @ symbols are three comment lines:
   $*********************************************      define misc. params
This construct occurs often throughout the examples, and is a "blank" line, a line with *'s followed by s short description, and another "blank" comment line. The short descriptions help one to understand what is being accomplished below them. In this case the comments explain that the commands following will define miscellaneous parameters.

The first command line the program reads are:

   &device -g_default gra_device  -oecho n -auxin xxx.dat
   &dimen -DIMEN FEET KIPS
   &TITLE This is a Title
   &SUBTITLE This is a Subtitle
The command &device sets how the program works. The option -g_default gra_device instructs the program to write all graphics to the "graphics device file". If you were running this example interactively, you would want to see the graphics. Examples, however, were designed to be executed in the background with no user interaction. Therefore this option saves the graphics for printing. (For details, click here.)

The -oecho option controls the echoing of the input data to the output file. By placing the "no" flag after this option, we are stating that we do NOT want the data file to be echoed to the output file.

The option option -auxin ../data/xxx.dat instructs the program to include the file "../data/xxx.dat" first before it reads in its normal input file. This option is simply adding to the list of files which will be read in as data, the option is not performing the task of reading in the model. In case the normal input device "root.dat" does not exist, the only input device will the the file ../data/xxx.dat.

The command &dimen -DIMEN FEET KIPS sets the units in which the analysis will be performed. All length units will be reported or entered in feet and forces will be in kips unless other wise specified. (For details, click here.)

The commands &TITLE and &SUBTITLE define the title and subtitle. Every page of the output and graphics contain these two lines. (For details, click here.)

In many (not all) examples, the water depth is important. If so, it will be defined with the command:

   $*********************************************      define water depth
   &parameter -depth 138.0
The command &PARAMETER is used to define data used in various computations and defaults which can be overridden by other commands. (For details, click here.)

The command which tells MOSES to read the model is:

   $*********************************************      read model
   INMODEL  -offset
The option -offset instructs the program to compute the local axial offsets of any tubular member connected to a tubular joint. (For details, click here.)

When everything desired has been completed, the command:

   $*********************************************      all done
"finishes" up the execution of the program and returns control to the operating system. (For details, click here.)