If Variable XYZ Equals 0 fails on Check with Var-Value 0
Posted: Mon Nov 24, 2008 11:13 am
The 'If Variable XYZ Equals 0(Zero) statement fails while debugging and runtime if it gets evaluated against the Variable with a Value of 0(Zero).
To me this behavior is wrong, as my variable value is 0(zero) and I test if this variable is equal zero to jump into the condition.
Manual:
Choose a comparison type from the drop down menu. If both variables contain integer values, a numeric comparison will be performed. If at least one variable contains a non-integer value, a string comparison will be performed.
Thanks for your help guys.
To me this behavior is wrong, as my variable value is 0(zero) and I test if this variable is equal zero to jump into the condition.
Manual:
Choose a comparison type from the drop down menu. If both variables contain integer values, a numeric comparison will be performed. If at least one variable contains a non-integer value, a string comparison will be performed.
Thanks for your help guys.