Apama 10.15.0 | Developing Apama Applications | EPL Reference | Lexical Elements | Literals | Sequence literals
 
Sequence literals
A sequence literal can contain one or more sequence item values.
Each expression in the comma separated list is one entry in the sequence literal. The types must all be the same and must match the sequence type.
A sequence literal must contain at least one item except when the sequence literal is in an initializer. For example, the following statement is valid:
mySequence := [];
The following statement is not valid:
takesASequenceArgument([]);
Example:
[1,2,3,4]