Highlighting Words within a File

When you create and format your own HELP files, you might want to highlight certain words for emphasis. The HELP facility lets you highlight selected portions of a file when those portions are viewed in display mode. To highlight a portion of a line, enclose that part of the line with the pairs of characters ¢| and ¢%. The ¢| control character turns the highlighting on (white on a color terminal); the ¢% control character turns the highlighting off. Everything on the line appears highlighted until the ¢% control characters are encountered. Care must be taken when inserting the highlight control characters within a HELP file because the control characters appear as a single blank when displayed on the screen (or typed on a line-oriented terminal). This can affect the formatting of a file. For example, if the screen width is 80 characters wide and a line is 90 characters long and contains 15 control character pairs, the line will take up two display lines (because the line length is greater than the display width). Start of changeHowever, when formatted, the text will appears on one display line, because 15 characters are hidden.End of change

Note: With TASK menus or RELATED sections that conform to the default formatting pattern, the selection entries are automatically displayed by HELP as highlighted lines. If you want to highlight only a portion of these lines, use the control characters ¢% to turn highlighting off. You can use these characters as previously explained to turn highlighting on or off elsewhere in the line. The previous example of a RELATED section shows how ¢% turns highlighting off after selection entries.