Difference between revisions of "Core.Actions.AppendByteField"

From emotive
Jump to navigation Jump to search
Line 20: Line 20:
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
public procedure main()
+
ByteField ByteField1 = &00FF;
{
+
ByteField NewByteField1 = &F000;
  ByteField ByteField1 = &00FF;
 
  ByteField NewByteField1 = &F000;
 
  
  ByteField.AppendByteField(ByteField1, {NewByteField1});
+
ByteField.AppendByteField(ByteField1, {NewByteField1});
}
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 12:27, 2 February 2015

Classification

Name AppendByteField
Short Description Adds a new ByteField at the end of a ByteFields
Class Action
Extension OTX Core library
Group ByteFieldModifiers related actions
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ByteField.AppendByteField(ByteFieldVariable, {ByteFieldTerm, ...});

Description

The OTX AppendByteField activity at the end of a ByteFields adds a new ByteField.

Properties

Name Data Type Class Default Cardinality Description
ByteField ByteField Variable - [1] Variable of type ByteField to which to add the new ByteFIeld
OtherByteField Term Variable - [1] The new ByteField, which is added to the ByteField

OTL Examples

ByteField ByteField1 = &00FF;
ByteField NewByteField1 = &F000;

ByteField.AppendByteField(ByteField1, {NewByteField1});

See also

Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
ReplaceSubByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapUnion
MapPutItems
MapRemoveItems
MapClear