Previous Topic: CUA/Text Specific DirectivesNext Topic: Help Text Attributes: Underline/High Intensity


Purpose of Toolkit Directives

For details on the directives, see Specifying Help Text Directives later in this chapter. The directives allow you:

Example

The following diagram illustrates how a help text document might be structured to provide both an index and to support vectored entry, that is, display of the help text starting at a specified point.

There are three ways of displaying the document:

YDSPHLP MBR(FRED) LABEL(*CSRLOC) CSRLOC(rrrccc)

  1. A cursor coordinate is passed into the help display program.
  2. The help display program uses the vector table at the beginning of the text to translate this into a label.
  3. The help display program displays the help text indicated by the specified label.

YDSPHLP MBR(FRED) LABEL(label-name)

  1. A label name is passed into the help display program.
  2. The help display program displays the help text indicated by the specified label.

YDSPHLP MBR(FRED)

  1. The help display program displays extended help.
  2. The user specifies an option from the help index.
  3. The help display program translates this into a label.
  4. The help display program displays the help text indicated by the specified label.