Operations (COMPUTE command)
- If the target variable already exists, its values are replaced.
- If the target variable does not exist and the assignment expression is numeric, the program creates a new variable.
- If the target variable does not exist and the assignment expression is a string, the program displays an error message and does not execute the command. Use the STRING command to declare new string variables before using them as target variables.