Display formats

User specified display formats occupy one word. The contents of a format integer depend on its corresponding data type.

The integer and real format integer is

format = (R*10000 + D*100 + N

where


\begin{List}
\item[R] is the items per line,
\item[D] is the decimal places, and
\item[N] is the field width.
\end{List}

The text format integer is

format = N

where


\begin{List}
\item[N] is the field width.
\end{List}

The date format integer is

format = (L*125 + DP*124 + MP*123 + ML*122 +
          YP*12 + YL)*128 + CH

where


\begin{List}
\item[L] is the total length of the displayed date,
\item[DP] is ...
...ngth of the year field, and
\item[CH] is an ascii filler character.
\end{List}

ML can be 2 or 3. If ML = 3 then the month is printed as a three character abbreviation, otherwise it is a two digit number. YL can be 2 or 4. CH is a filler which is put wherever there is nothing else.

The time format integer is

format = (L*125 + SP*124 + MP*123 + HP*12)*128 + CH

where


\begin{List}
\item[L] is the total length of the displayed time,
\item[SP] is ...
...position of the hour field,
\item[CH] is an ascii filler character.
\end{List}

SP can be zero, indicating that the seconds are not to be displayed. CH is a filler which is put wherever there is nothing else.