XenoGuard Documentation

Count

Actions » Programming » List » Count 

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

Parameters:

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