| Calling Sequence
| Code(string1,...)
|
| Parameters
| | Name | Type | Description |
|
| string1
| string | text to be displayed as is |
|
| Return Type
| Code |
| Methods
| HTMLC, LaTeXC, print, string, type |
| Synopsis
| The Code data structure holds text that is to be
displayed preserving all spaces, tabs, newlines, etc. This is
what is expected to happen to a program. The content of Code
will normally be displayed with constant-width font.
Any newlines appearing in the argument strings will be displayed.
Additionally, a newline is inserted at the end of every argument.
Arguments of Code will be displayed in new lines. So if the
insertion of code is desired within a sentence, the TT() structure
should be used (constant width font). |
| Examples
| > Code( 'for i to 10 do lprint(i^2) od');
Code(for i to 10 do lprint(i^2) od)
|
| See also
| Color, Copyright, Document, HTML, HyperLink, Indent, LastUpdatedBy, latex, List, Paragraph, PostscriptFigure, print, Roman, RunDarwinSession, screenwidth, Table, TT, View |