Difference between revisions of "Core.Actions.ListRemoveItems"
Jump to navigation
Jump to search
m (Hb moved page ListRemoveItems to Core.OtxActions.ListRemoveItems: #3153) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Core]] | + | {{DISPLAYTITLE:OTX '''ListRemoveItems'''}}[[Category:Core]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | ListRemoveItems | Deleting one or more items at a specific location in a list | [[Action]] | [[Core|OTX Core library]] | [[ListModifiers related actions]] | [[OutOfBoundsException]] |}} | + | {{ClassificationActivity | ListRemoveItems | Deleting one or more items at a specific location in a list | [[Action]] | [[Core|OTX Core library]] | [[ListModifiers related actions]] | [[Core.Actions.Throw.Exception.OutOfBoundsException|OutOfBoundsException]] |}} |
== OTL Syntax == | == OTL Syntax == | ||
Line 14: | Line 14: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| List | [[List]] | [[Variable]] | - | [1] | List of items from which the items are deleted}} | + | {{TableRowPropertie1| List | [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | [[Variable]] | - | [1] | List of items from which the items are deleted}} |
− | {{TableRowPropertie2| Count | [[Integer]] | [[Term]] | - | [1] | Number of items which will be deleted}} | + | {{TableRowPropertie2| Count | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1] | Number of items which will be deleted}} |
− | {{TableRowPropertie1| Index| [[Integer]] | [[Term]] | - | [1] | Position in the list (zero based) from which the items are deleted}} | + | {{TableRowPropertie1| Index| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1] | Position in the list (zero based) from which the items are deleted}} |
|} | |} | ||
Line 27: | Line 27: | ||
== See also == | == See also == | ||
− | [[Assignment]] <br/> | + | [[Core.Actions.Assignment|Assignment]] <br/> |
− | [[ProcedureCall]] <br/> | + | [[Core.Actions.ProcedureCall|ProcedureCall]] <br/> |
− | [[ShiftRight]] <br/> | + | [[Core.Actions.ShiftRight|ShiftRight]] <br/> |
− | [[ShiftLeft]] <br/> | + | [[Core.Actions.ShiftLeft|ShiftLeft]] <br/> |
− | [[SetBit]] <br/> | + | [[Core.Actions.SetBit|SetBit]] <br/> |
− | [[ReplaceSubByteField]] <br/> | + | [[Core.Actions.ReplaceSubByteField|ReplaceSubByteField]] <br/> |
− | [[AppendByteField]] <br/> | + | [[Core.Actions.AppendByteField|AppendByteField]] <br/> |
− | [[ListConcatenate]] <br/> | + | [[Core.Actions.ListConcatenate|ListConcatenate]] <br/> |
− | [[ListAppendItems]] <br/> | + | [[Core.Actions.ListAppendItems|ListAppendItems]] <br/> |
− | [[ListInsertItems]] <br/> | + | [[Core.Actions.ListInsertItems|ListInsertItems]] <br/> |
− | [[ListClear]] <br/> | + | [[Core.Actions.ListClear|ListClear]] <br/> |
− | [[MapUnion]] <br/> | + | [[Core.Actions.MapUnion|MapUnion]] <br/> |
− | [[MapPutItems]] <br/> | + | [[Core.Actions.MapPutItems|MapPutItems]] <br/> |
− | [[MapRemoveItems]] <br/> | + | [[Core.Actions.MapRemoveItems|MapRemoveItems]] <br/> |
− | [[MapClear]] | + | [[Core.Actions.MapClear|MapClear]] |
Latest revision as of 10:57, 16 February 2016
Classification
Name | ListRemoveItems |
Short Description | Deleting one or more items at a specific location in a list |
Class | Action |
Extension | OTX Core library |
Group | ListModifiers related actions |
Exceptions | OutOfBoundsException |
Checker Rules | |
Standard Compliant | Yes |
OTL Syntax
ListRemoveItems(ListVariable, IntegerTerm, IntegerTerm);
Description
The OTX ListRemoveItems activity deletes one or more elements at a specified position in a list.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
List | List | Variable | - | [1] | List of items from which the items are deleted |
Count | Integer | Term | - | [1] | Number of items which will be deleted |
Index | Integer | Term | - | [1] | Position in the list (zero based) from which the items are deleted |
OTL Examples
List<Integer> List1 = {1, 2, 3};
ListRemoveItems(List1, 0, 3);
See also
Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
ReplaceSubByteField
AppendByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListClear
MapUnion
MapPutItems
MapRemoveItems
MapClear