XenoGuard Documentation

Remove At

Actions » Programming » List » Remove At 

The action 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
  1. Open the Programming node in the Workspace Explorer.
  2. In the List node, select the Remove At action.

Parameters:

The action 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 action 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