CreateList
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

CreateList

  • Dark
    Light

Article summary

General

The CreateList function can be used to create a List of values.

Example: You can use the CreateList function to create a List that contains multiple Numbers or Strings.

Syntax

The syntax of the CreateList function is:

CreateList Function Syntax

CreateList(<value_1>[, <value_n])

Examples

The following Expression returns a List that contains the Numbers 1 and 3:

CreateList Function Example

CreateList(1, 3)

The following Expression returns a List that contains the Strings Hello and World:

CreateList Function Example

CreateList("Hello", "World")


Was this article helpful?

What's Next