Numeric expressions

Numeric expressions can be used with the COMPUTE and IF commands and as part of a logical expression for commands such as IF, DO IF, LOOP IF, and SELECT IF. Arithmetic expressions can also appear in the index portion of a LOOP command, on the REPEATING DATA command, and on the PRINT SPACES command.

New numeric variables created with transformation expressions have an unknown measurement level until after the next command that reads the data (such as a statistical or charting procedure or the EXECUTE command). For information on default measurement level assignment, see SET SCALEMIN.