Help for Microsoft QuickHelp (qh.hlp) (Topic list)
:p
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
.paste paste-name
    .
    .
    .
.end
 
The .paste command specifies the beginning of a group of lines that can be
pasted from the database to a file. The lines between a .paste command and a
.end command constitute the paste group. The name specified by a .paste
command will appear in the QuickHelp Paste menu. A maximum of 18 paste
groups can be specified in each topic.
 
Example
 
In the following example, QuickHelp will place the paste name "C Example"
into the Paste menu. If the user selects this name, then all lines between
the .paste and the .end will be pasted.
 
    .context strlen
    .paste C Example
    #include <string.h>
    #include <stdio.h>
 
    char *string = "some space";
    size_t result;
 
    main()
    {
        result = strlen(string);
        printf("The size of the string is %d", result);
    }
    .end
 
.category, .context, .freeze, .list, .popup, .ref, .topic