Search code examples
spss

SPSS print a statement to the ouput window


What syntax do I use to print "hello world" in the output window?

I simply want to specify the text in the syntax and have it appear in the output.


Solution

  • You need the title command:

    title 'this is my text'.
    

    Note that the title can be up to 256 bytes long.