Previous Page | Next Page

SAS Component Language Dictionary

GETTITLE



Returns the text of a title definition
Category: SAS System Option

Syntax
Details
Example
See Also

Syntax

title-text=GETTITLE(title-num);

title-text

is the text of the title definition, or a blank if the title is not defined.

Type: Character

title-num

is the number (1 to 10) of the title definition.

Type: Numeric


Details

Use GETTITLE to retrieve any title text that was previously defined in the SAS session by either the TITLE statement or the SCL SETTITLE routine. Only the title text is retrieved. Graphic options, such as color or font, are not returned.

You can view titles in the TITLES window by using the TITLE command. Changing any text in the TITLES window, however, resets all graphically defined title options, such as color, font, and position.

For more information about titles, see SAS Language Reference: Dictionary. For more information about graphical titles, see SAS/GRAPH: Reference.


Example

Put the text of TITLE2 into the variable TITLE2:

title2=gettitle(2);


See Also

GETFOOT

SETFOOT

SETTITLE

Previous Page | Next Page | Top of Page