Developing Apama Applications > EPL Reference > Statements > Simple statements > Variable declaration statements
Variable declaration statements
A variable declaration statement can specify a primitive or reference variable.
VariableDeclaration
See Variable declarations.
Primitive type variable declarations
A PrimitiveVariableDeclaration specifies a boolean, decimal, float, integer, or string type variable.
PrimitiveVariableDeclaration
See Primitive type variable declarations.
Reference type variable declarations
A ReferenceVariableDeclaration specifies a reference type variable.
ReferenceVariableDeclaration
A variable declaration statement can appear anywhere in a block. Variables declared in a block are in scope in that block and can be used in statements that follow the declaration.
For details, see Reference type variable declarations.
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.