Developing Apama Applications > Apama 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 scoped to that block and can be used in statements that follow the declaration.
For details, see Reference type variable declarations.
Copyright © 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.