Developing Apama Applications > EPL Reference > Lexical Elements > Literals > Sequence literals
Sequence literals
A sequence literal can contain one or more sequence item values.
SequenceLiteral
Description
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]
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.