COMPUTE statement
Remarks#
The COMPUTE statement allows for algebraic calculation expressions.
Rounded phrase is
Advice: Use spaces around all components
COMPUTE answer = 3*var-1That is a reference to the variable var-1, and not var - 1.
COMPUTE answer = 3 * var - 1Recommended, opinion.

