lunedì, febbraio 18, 2008

Flash Operators

Handy for the memory-challenged novice like me! Here are a few frequently used ones:

== (equality)

Tests two expressions for equality.

>= (greater than or equal to)

Compares two expressions and determines whether expression1 is greater than or equal to expression2 (true) or expression1 is less than expression2 (false).

!= (inequality)

Tests for the exact opposite of the equality (== ) operator.

<= (less than or equal to)

Compares two expressions and determines whether expression1 is less than or equal to expression2 ; if it is, the operator returns true.

&& (logical AND)

Performs a Boolean operation on the values of both expressions.

! (logical NOT)

Inverts the Boolean value of a variable or expression.

(logical OR)

Evaluates expression1 (the expression on the left side of the operator) and returns true if the expression evaluates to true.