Core.Terms.ByteFieldGetSize

From emotive
Jump to navigation Jump to search

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

OTL 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;
result = ByteField.ByteFieldGetSize(&12);
//Returns result = 1

See also

BitwiseAnd
BitwiseOr
BitwiseXor
BitwiseNot
SubByteField
GetBit