That is the correct behavior for the ternary operator.
For the logical statement: if A==<value> then X else Y
The ternary operator would be: A==<value> ? X : Y
So, in P<=10?:B-D/E
You have an else but not a then.
Maybe you mean this: P<=10?B-D/E:
More properly, you'd provide an else in the form of something that equates to a "missing value": E.g.: P<=10?B-D/E:0/0
where 0/0 equates to a missing value.
Thanks, Chris Drozdowski Originlab Technical Support
|