Attempts to evaluate an expression results in error "The expression is not valid: Illegal or misplaced character "-" in IBM Rational Focal Point
- Create two float attributes A&B in Rational Focal Point
- Create a Mirror Attribute point to Attribute B
- Create another float Attribute 'Sum' and put the expression as
- Click on evaluate expression button and you would observe the reported error
The error is because of the placement of parenthesis in the expression.
Resolving the problem
You can rewrite the expression in the following ways to resolve the reported error