:xmp. (Example)

Purpose

Turns formatting off.

Syntax

┌───────────────┬───────────────┬───────────────┬───────────────┐
│Tag            │Element        │Attributes     │End            │
├───────────────┼───────────────┼───────────────┼───────────────┤
│:xmp.          │Example        │               │:exmp.         │
└───────────────┴───────────────┴───────────────┴───────────────┘

Attributes

None

Description

Text entered between :xmp. and :exmp. is formatted as entered, in a monospace font. The text is indented two spaces from the left margin of the window. Lines that are too long to fit within the window are clipped.

Conditions

Example

:xmp. #define INCL_WIN
 #include <os2.h>

 MRESULT EXPENTRY MyObject(PACVP pACVP, PCH ObjectInfo)
 {

 HWND hwndMyACVP;            /* Handle to the application-controlled */
                             /* window that this procedure creates   */
      .
      .
      .
 }
:exmp.

Output

 #define INCL_WIN
 #include <os2.h>

 MRESULT EXPENTRY MyObject(PACVP pACVP, PCH ObjectInfo)
 {

 HWND hwndMyACVP;            /* Handle to the application-controlled */
                             /* window that this procedure creates   */
      .
      .
      .
 }


[Back: :warning. (Warning)]
[Next: Symbols]