Overview

The ENTRY, ENTRYTITLE, and ENTRYFOOTNOTE statements all use the same syntax for specifying one or more pieces of text called text-items. For example, here is the ENTRYTITLE syntax:
ENTRYTITLE text-item <...<text-item>> </option(s)>;
Each text-item can be specified using the following syntax:
<prefix-option...<prefix-option>> "string" | dynamic | character-expression | {text-command}
The simplest specification for each statement is to specify a string in quotes. For example, you might specify a graph title as follows:
entrytitle "Height and Weight by Sex";
In this example, the string Height and Weight by Sex is formatted as the graph title and displayed in the title position. If multiple strings are specified, they are concatenated into a single line of text. This second specification generates the same title:
entrytitle "Height " "and " "Weight " "by " "Sex";
To provide control over the text, multiple prefix options can precede each text-item, and the text-item can be a string literal, a dynamic, or a text command. All text-items with the same HALIGN= setting are concatenated into one string. Up to three strings with different horizontal alignment can result for each ENTRY statement. Leading and trailing blanks in the concatenated string are always used.
  • a string must be enclosed in quotation marks.
  • a character-expression must be enclosed in an EVAL function.
  • a text-command must be enclosed in braces. (See Using Text Commands).