XenoGuard Documentation

Create

Actions » Programming » List » Create 

The action Create makes a list with either local or global context. This action is used in conjunction with other list actions to manipulate a created list.

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

Parameters:

The action has the following input parameters:


name Description
Context The context to be used for the value.

Allowed Context Scope [Fixed]
List Name
The name to be given for the list.

Allowed Context Scopes
[Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Read Only
Sets a boolean value that prevents the content to be modified.

Allowed Context Type [Boolean]

Example 1 (Assigns a name for a created list):

This example creates a local list named Product List and values were added to the list collection. The result Count of the added items in the list is then output via Write Text.

See other list operations:

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