The accelerator to be studied is known to MAD as a sequence of physical elements called a beam line. A beam line is built from simpler beam lines whose definitions can be nested to any level. The syntax is powerful enough to repeat or to reflect pieces of beam lines. Formally a beam line is defined by a LINE command:
label:LINE=(member,...,member);label gives a name to the beam line for later reference.
Each member may be one of the following: