XenoGuard 4.0 Documentation
Remove At
ActionStep Reference » Programming » List » Remove At
The ActionStep List Remove At takes out a value from a list at the specified index and stores the deleted value in Removed of the result list.
[-] Hide
- Open the Programming node in the Workspace Explorer.
- In the List node, select the Remove At ActionStep.
Parameters:
The ActionStep has the following input parameters:
NAME |
DESCRIPTION
|
---|---|
List |
The name of the list where the value is to be removed.
Allowed Context Scopes [Local, Global] |
Index
|
The index position of the value to be removed from the list.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Results:
The ActionStep returns the following results:
NAME
|
DESCRIPTION
|
---|---|
Removed |
Contains the value that has been removed from the list.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Example 1 (Deletes a value at a specified index position in a list):
This example removes a value based on the given index position in the created local Users list. The updated list was displayed after removing the value from the list. The deleted value in Removed is then output via Write Text.
See other List operations:
Create
Add
Set At Index
Get
Contains
Count
Iterate
Remove
Remove Match
Clear