Verbatim Output

Sometimes you will want to include text exactly as it appears on a terminal screen. For example, you might want to include part of a computer program. Not only do you want LATEX to stop playing around with the layout of your text, you also want to be able to type all the characters on your keyboard without confusing LATEX. The verbatim environment has this effect:
\begin{eg}\begin{egbox}
\begin{flushleft}
\verb\vert The section of program in\v...
...o
begin
table[i] := fn(i);
process(i)
end;\end{verbatim}
\end{egbox}\end{eg}