Difference between revisions of "Core.Terms.ByteFieldGetSize"

From emotive
Jump to navigation Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | ByteFieldGetSize | Number of bytes in the ByteField | Term | OTX Core library | ByteField oper...")
 
Line 5: Line 5:
 
== Pseudo-Code Syntax ==
 
== Pseudo-Code Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Value = ByteFieldGetSize(ByteFieldTerm)
+
IntegerTerm = ByteField.ByteFieldGetSize(ByteFieldTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 04:26, 4 February 2015

Classification

Name ByteFieldGetSize
Short Description Number of bytes in the ByteField
Class Term
Extension OTX Core library
Group ByteField operations
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

IntegerTerm = ByteField.ByteFieldGetSize(ByteFieldTerm);

Description

ByteFieldGetSize is a term, which returns the number of bytes in the ByteField 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
Integer Return of the number of bytes of the operand

Properties

Name Data Type Class Default Cardinality Description
ByteFieldTerm ByteField Term - [1] Operand

Examples

Integer result = ByteFieldGetSize(&12)
//Returns result = 1

See also

BitwiseAnd
BitwiseOr
BitwiseXor
BitwiseNot
SubByteField
GetBit