Chapter Contents

Previous

Next
SETTITLE

SETTITLE



Sets the text of a title definition

Category: SAS System Option


Syntax
Details
Example
See Also

Syntax

CALL SETTITLE(title-num,title-text);

title-num
is the number (1 to 10) of the title definition to create or modify.

Type: Numeric

title-text
is the text for the title definition.

Type: Character


Details

SETTITLE works just like the TITLE statement. It clears all title definitions that are numbered higher than the one created. You cannot use SETTITLE to set graphic options such as color, font, and position.

You can view title definitions in the TITLES window by using the TITLE command. However, changing any text in the TITLES window 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 Software: Reference .


Example

Create a title numbered 2. The statement deletes all titles with numbers greater than 2.

call settitle(2,'This is the Second Title');

See Also

GETFOOT

GETTITLE

SETFOOT


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.