This function creates a variable for storing a text list, and directly sets the values.

This value will be immediately returned and can be accessed by the getStringList() function afterwards within the same expression.

Syntax
setStringList(variableName, textList) #Output: Text list
Examples
Expression parserDescription
setStringList("myTextList",["Hello","World"])
This example creates the variable "myTextList", sets the values ["Hello","World"] and returns it accordingly.
Additional information

Parameters used in this function

ParameterInput (data type)Description
variableName

TEXT

A text for the variable name.
numberList

ISSUE LIST

Any given text list.
Output

This function returns a TEXT LIST

To retrieve the value stored in the variable, use the function getStringList() within the same expression.


Use cases and examples