4.8.29 programlisting

Used for SQL examples and other code listings.

In the output created from the XML (HTML, PDF, CHM, and so forth), everything between <programlisting> and </programlisting> is displayed literally. When you indent a program listing the indentation also shows literally.

Within programlisting elements, make sure that code lines do not run longer than 72 characters. Code lines should be indented using spaces, not tabs.