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 © 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.