Developing Apama Applications > Developing Apama Applications in EPL > Defining What Happens When Matching Events Are Found > Using variables
Using variables
EPL supports the use of variables in monitors. Depending on where in the monitor you declare a variable, that variable is global or local:
*Global — Variables declared in monitors and not inside actions or events are global variables. Global variables are in monitor scope.
*Local — Variables declared inside actions are local variables. Local variables are in action scope.
A variable can be of any of the following types: boolean, decimal, float, integer, string, action, context, dictionary, event, listener, location, sequence or stream. For details about these types, see Types.
See also, Using action type variables.
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.