Core.Actions.ReplaceSubByteField
Jump to navigation
Jump to search
Classification
Name | ReplaceSubByteField |
Short Description | Replace parts of a ByteFields with an other ByteField |
Class | Action |
Extension | OTX Core library |
Group | ByteFieldModifiers related actions |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ByteField.ReplaceSubByteField(ByteFieldVariable, ByteFieldVariable, IntegerTerm);
Description
The OTX ReplaceSubByteField activity replaces parts a ByteFields with an other ByteField.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ByteField | ByteField | Variable | - | [1] | Variable of type ByteField in which a part should be replaced |
NewByteField | Term | Variable | - | [1] | The new ByteField, overwriting the old ByteField starting at the position (index) |
Index | Integer | Term | - | [1] | Index in the ByteField starting the new ByteField to override. |
OTL Examples
Integer Index1 = 0;
ByteField ByteField1 = &00FF;
ByteField NewByteField1;
ByteField.ReplaceSubByteField(ByteField1, NewByteField1, Index1);
See also
Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
AppendByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapUnion
MapPutItems
MapRemoveItems
MapClear