Developing Apama Applications > Apama EPL Reference > Variables > Variable declarations > Reference-type variable declarations > Location variable declarations
Location variable declarations
The Identifier becomes the location variable’s name.
LocationDeclaration
Examples
location rect;
location point;
LocationInitializer
The four Expressions in the location initializer are separated by commas and must have a result type of float, are the coordinates of the two points x1, y1, and x2, y2, forming the location’s enclosing boundary rectangle.
Examples
location rect := location(1.0, 1.0, 5.0, 5.0);
location point := location(1.0, 1.0, 1.0, 1.0);
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.