SPSS Compute
The COMPUTE command assigns a value to a variable.
Contents
Usage
compute foo = 1. compute bar = ''.
If a string literal or string expression differs in length compared to the target variable, it is truncated or padded with space characters as needed.
Data Model
The COMPUTE command is queued as a pending transformation.