man2007
Aerospace
- Nov 6, 2007
- 283
A boolean expression like i==20 should either result in either 0 or 1, right?
Then an expression like
j=i==20 (where i and j are constants)
should be a valid expression, but expression editor gives
"datatype error
Boolean was found where Number was expected"
And moreover the above way of writing expression is more compact than
j=if(i==20)(1)else(0)
ug version used NX4.0.4.2
Then an expression like
j=i==20 (where i and j are constants)
should be a valid expression, but expression editor gives
"datatype error
Boolean was found where Number was expected"
And moreover the above way of writing expression is more compact than
j=if(i==20)(1)else(0)
ug version used NX4.0.4.2