XenoGuard 4.0 Documentation

Iterate

ActionStep Reference » Programming » List » Iterate 

The ActionStep List 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 ActionStep.

Parameters:

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