There are two cases where an error occurs in the variable value input window when defining a new variable.
The first is when the operator symbols are used incorrectly when entering a formula in the variable value input window.
Example: Score of P1B1 + (( Score of P1B3 - 4 )
It is an error if the opening and closing of parentheses do not match, as in the example above. Opening and closing parentheses must match.
Example: Score of P1B2 + 3 ( Score of P1B5 + Answer of P2B1 )
It is an error to omit the multiplication sign between items, as in the example above. Do not omit the symbol between items.
In addition to this, errors in notation of operator symbols in general formulas, such as when multiple operator symbols are entered between items, or when the first or last expression is an operator symbol, are all treated as errors.
The second is when the item inserted in the variable value input window is in an error state.
Example: Deleted variable + Score of P1B2
As in the example above, if a variable is inserted and later deleted, the deleted variable is displayed as 'Deleted variable' in the variable value input window, and the variable including 'Deleted variable' is treated as an error.
Example: Score of P1B6 (shown in red) + Score of P2B2
After a question has been inserted, if the question's 'Assign score for each choice' option is turned off so that question can no longer be scored, the embedded question will be an error, so the variable will be treated as an error as well.
Example: variable_1: error + Score of P1B9
As in the example above, if another defined variable is inserted and the defined variable is changed to an error state, this variable including the defined variable is also treated as an error.
Even if there is no error in the variable value input window, if the final calculated result value is an error, the logic using the variable may not work, and no value may be displayed where the variable is inserted.
For more information on using defined variables, see the 'Defined Variables' help page.