SAS Component Language Dictionary |
Returns the text of a title definition
Category: |
SAS System Option
|
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
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.
Put the text of TITLE2 into the variable TITLE2:
title2=gettitle(2);
GETFOOT
SETFOOT
SETTITLE
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.