logicalbinop

The logical binary operators.

Declaration

Sintaxe

logicalbinop = And | Or | Xor | NEqv | Eqv

Values

Value

Meaning

And

.and.

Or

.or.

Xor

exclusive or.

NEqv

.neqv., which is exclusive or.

Eqv

.eqv., which is equivalence.

Valores de retorno

None. An enumeration value is not evaluated.

Descrição

Xor and NEqv compute the same result: they are separate values so that unparsed ASR reproduces the operator that was written.

Veja Também

LogicalBinOp, OverloadedBoolOp, binop