setNumberList()

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

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


Bash
setNumberList(variableName, numberList) #Output: Number list


Examples

Expression parser

Description

Bash
setNumberList("myNumberList",[1,2,3])

This example creates the variable "myNumberList", sets the values [1, 2, 3] and returns it accordingly.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

variableName

text

A text for the variable name.

numberList

issue list

Any given number list.

Output

This function returns a  number list

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


📚 Use cases and examples