This section deals with outputting a materials listing.
As before, the first lines must be the title of the section and a commentary:
Next there is the loop sentence, this time concerning materials:
Then comes the line where the number of the material and its different properties are output:
Finally, the end of the section is signalled:
The full set of commands is as follows:
The next section deals wth generating an elements listing.