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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.