Not Logical Not Operator; Logical Or Operator - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

not logical NOT operator

not expression
Deprecated since Flash Player 5. This operator was deprecated in favor of the
operator.
NOT)
Performs a logical NOT (!) operation in Flash Player 4.
Availability: ActionScript 1.0; Flash Player 4
Operands
expression : Object
Returns
- The result of the logical operation.
Boolean
See also
! logical NOT operator

|| logical OR operator

expression1 || expression2
Evaluates
expression1
the expression evaluates to
expression on the right side of the operator) is evaluated. If
the final result is
false
If you use a function call as
evaluates to true.
expression1
The result is
if either or both expressions evaluate to
true
both expressions evaluate to
operands; if any operand evaluates to
Availability: ActionScript 1.0; Flash Player 4
Operands
expression1 : Number
expression2 : Number
Returns
- The result of the logical operation.
Boolean
- A variable or other expression that converts to a Boolean value.
(the expression on the left side of the operator) and returns
. If
true
expression1
; otherwise, it is
true
, the function will not be executed by that call if
expression2
. You can use the logical OR operator with any number of
false
, the result is
true
- A Boolean value or an expression that converts to a Boolean value.
- A Boolean value or an expression that converts to a Boolean value.
evaluates to
false
expression2
.
; the result is
true
.
true
! (logical
true
,
(the
expression2
evaluates to
false
only if
false
Operators
if
,
175

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents