I'm hoping to find a way in SPSS Statistics syntax to set the output page title with the value of a variable.
I know the "normal" way to set the page title is:
TITLE "This is my new page title".
The context and full question is I'd like to use the DO REPEAT construct and change the title within that, as in:
DO REPEAT TitleTextVar = Title1, Title2/
OtherVar = x1, x2.
TITLE TitleTextVar.
COMPUTE OtherVar = 0.
.
.
.
END REPEAT.
This doesn't seem to work. DO REPEAT seems to ignore the TITLE command and just sets the page title to "TitleTextVar".
I know that I can accomplish my goal by not using DO REPEAT and just having a very long syntax file where I manually enter the title text, but the DO REPEAT is such a nice elegant solution to accomplish everything else I want to do.
Thanks for any ideas.
------------------------------
Urban Landreman
------------------------------