A loop is an element of the STAR grammar. In order to encode a
vector or table of data, an individual data item or a group
of data items within the same category may be preceded by
a loop_ token. The list of data item names
can then be followed by repeated rows of data values. The
number of data values must be an exact multiple of the
number of data items. CIF and mmCIF do not permit the nesting
of loops. The following example builds a small table of atomic positions.
loop_
_atom_site.type_symbol
_atom_site.Cartn_x
_atom_site.Cartn_y
_atom_site.Cartn_z
_atom_site.id
N 25.369 30.691 11.795 1
C 25.970 31.965 12.332 2
C 25.569 32.010 13.808 3
O 24.735 31.190 14.167 4