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.
setStringList(variableName, textList) #Output: Text list
To retrieve the value stored in the variable, use the function getStringList() within the same expression.