XenoGuard Documentation

Iterate

Actions » Programming » List » Iterate 

The action Iterate enumerates through the list of entries in a created list and stores the number of items in ItemCount and the values in Items of the result list.


[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. In the List node, select the Iterate action.

Parameters:

The action has the following input parameters:


name Description
List The name of the list where the value is to be iterated.

Allowed Context Scopes [Local, Global]

Results:

The action returns the following results:


name
description
Item Count Contains the number of entries in the list.

Allowed Context Scope [Fixed]
Items Contains the iterated values in the list.

Allowed Context Scope [Fixed]
Allowed Context Type [Result]

Example 1 (Displays the iterated values of a list):

This example goes through all the values within the created local Tests list. The result of the iterated values in the item list is passed to Items and is then output via Write Text.

See other list operations:

Create
Add
Set At Index
Get
Contains
Count
Remove
Remove At
Remove Match
Clear