27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRINT SPACE<br />

PRINT SPACE [OUTFILE=file] [numeric expression]<br />

Example<br />

PRINT / NAME DEPT82 *<br />

MOHIRED(T30,F2) ’/’ YRHIRED *<br />

SALARY82 (T35,DOLLAR8).<br />

PRINT SPACE.<br />

EXECUTE.<br />

Overview<br />

PRINT SPACE displays blank lines in the output and is generally used with a PRINT or WRITE<br />

command. Because PRINT SPACE displays a blank line each time it is executed, it is often<br />

used in a DO IF—END IF structure.<br />

Basic Specification<br />

The basic specification is simply the command PRINT SPACE.<br />

<strong>Syntax</strong> Rules<br />

• To display more than one blank line, specify a numeric expression after PRINT SPACE.<br />

The expression can be an integer or a complex expression.<br />

• OUTFILE directs the output to a specified file. OUTFILE should be specified if an<br />

OUTFILE subcommand is specified on the PRINT or WRITE command that is used with<br />

PRINT SPACE. The OUTFILE subcommand on PRINT SPACE and PRINT or WRITE should<br />

specify the same file.<br />

Operations<br />

• If PRINT SPACE is not used in a DO IF—END IF structure, it is executed for each case in<br />

the data and displays a blank line for every case.<br />

1261

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!