Difference between revisions of "Core.Terms.BitwiseAnd"
Jump to navigation
Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | BitwiseAnd | Bitwise AND operation two ByteFields | Term | OTX Core library | ByteField operat...") |
|||
Line 24: | Line 24: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | ByteField result = BitwiseAnd(&12, &34) | ||
+ | //Returns result = &10 | ||
+ | </syntaxhighlight> | ||
− | |||
− | |||
== See also == | == See also == | ||
[[BitwiseOr]] <br/> | [[BitwiseOr]] <br/> |
Revision as of 10:05, 13 August 2014
Contents
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 |
Pseudo-Code Syntax
Value = ByteFieldTerm1 & ByteFieldTerm2
Description
BitwiseAnd is a term, which returns the bitwise AND operation of two ByteFields as a result.
![]() |
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.
![]()
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 |
Examples
ByteField result = BitwiseAnd(&12, &34)
//Returns result = &10
See also
BitwiseOr
BitwiseXor
BitwiseNot
ByteFieldGetSize
SubByteField
GetBit