The COMPUTE statement allows for algebraic calculation expressions.
Rounded phrase is
COMPUTE answer = 3*var-1
That is a reference to the variable var-1, and not var - 1.
var-1
var - 1
COMPUTE answer = 3 * var - 1
Recommended, opinion.
Topic Id: 6726
Example Ids: 22877
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service