Component index
Section index | Component sample |
Search |
Type | Function |
Summary | Define a code sample in a box |
Description | You enter the text of the code sample in the body functag and it is displayed in a box with the title under it. |
![]() ![]() | void body () | |
![]() ![]() |
This function is not generally used directly, but the tlmpwebcc transform any text line into a call to fputs. The sample component intercept these calls and format them appropriatly.
The document is generally a code sample or any ascii document.
The document is generally a code sample or any ascii document.
The default is 0.
The default is border=1. You can set something else. If you pass a NULL parameter, no table statement is use. The output is simple a bunch of lines in a "pre" HTML statement.
A table is normally used to hold the sample. You control the width in percent. The default is 60.