SAS Component Language Dictionary |
Category: | SAS System Option |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
title-text=GETTITLE(title-num); |
is the text of the title definition, or a blank if the title is not defined.
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 |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.