Core.Terms.BitwiseAnd

From emotive
Jump to navigation Jump to search

Classification

Name BitwiseAnd
Short Description Bitwise AND operation two ByteFields
Class Term
Extension OTX Core library
Group ByteField operations
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

Value = ByteFieldTerm1 & ByteFieldTerm2

Description

BitwiseAnd is a term, which returns the bitwise AND operation of two ByteFields as a result.

Exclamation.png Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
ByteField Return of the bitwise AND operation of two ByteField

Properties

Name Data Type Class Default Cardinality Description
ByteFieldTerm1 ByteField Term - [1] Left operand
ByteFieldTerm2 ByteField Term - [1] Right operand

OTL Examples

ByteField result;

result = &12 & &34;
//Returns result = &10

See also

BitwiseOr
BitwiseXor
BitwiseNot
ByteFieldGetSize
SubByteField
GetBit