XenoGuard 4.0 Documentation

Count

ActionStep Reference » Programming » List » Count 

The ActionStep List Count retrieves the number of entries in the list and stores the numerical value in Count of the result list.


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

Parameters:

The ActionStep has the following input parameters:


name Description
List The name of the list where the values are to be counted.

Allowed Context Scopes [Local, Global]

Results:

The ActionStep returns the following results:


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

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]

Example 1 (Displays the number of items in the list):

This example counts the number of entries in the local Tests list. The result Count is then output via Message Box.

See other List operations:

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