I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:
=IF(D23<>0,"Insufficent",0)
I am converting it to ActionScript:
var result:String = [condition] ? 0 : "Insufficient";
but I am unsure of what D23 <> 0 means, is it simply "not equal"?
Definition of represent (Entry 1 of 2) transitive verb. 1 : to bring clearly before the mind : present a book which represents the character of early America. 2 : to serve as a sign or symbol of the flag represents our country. 3 : to portray or exhibit in art : depict.
<> in some languages means "does not equal". But in c, the operator is != . Also note the difference between logical AND ( && ) and bitwise AND ( & ). You should use the logical operators for multiple criteria in a conditional statement.
Logical OR operator: || The logical OR operator ( || ) returns the boolean value true if either or both operands is true and returns false otherwise. The operands are implicitly converted to type bool before evaluation, and the result is of type bool . Logical OR has left-to-right associativity.
Yes, it means "not equal", either less than or greater than. e.g
If x <> y Then
can be read as
if x is less than y or x is greater than y then
The logical outcome being "If x is anything except equal to y"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With