List/Array/Set Constructor Operator

Use the list constructor operator to specify the elements of a list, array, or set. The constructor operator has the following three variants:
Format Description Example
{ a , b } The elements of the list, separated by commas and enclosed in braces.
LIST MyList = {"a","b"}
{...} The literal characters {...} followed by indented lines, each containing one element of the list
[-] SET Colors = {...}
	[ ] red 
	[ ] green
<text>

For lists of string elements only. The literal characters <text> followed by indented lines each containing one element of the list.

Each element is treated as the literal text of a string. Quotation marks are not needed to indicate the strings.

Additional indentation levels on the lines are interpreted as tabs in the string.

[-] LIST MyList = <text>
	[ ] a 
	[ ] "b" 
	[ ] 	c
Note: In this example, the three elements of the list are the strings "a" and ""b"" and "<tab>c".

You can find more elaborate examples in the LIST and ARRAY data type topics, the type...is set declaration, and the various LIST, ARRAY, and SET functions.