Developing Apama Applications > Developing Apama Applications in Event Modeler > Using Event Modeler > Using the Variables tab > Adding a variable
Adding a variable
To add a variable:
1. Left click on the empty row in the cell under the column heading name. The cell will become highlighted with a border appearing around it. This means you can type in the cell.
Alternatively you could double click on the cell, and this would display a flashing text entry cursor in the cell.
2. After selecting the name entry cell, type in a name for your new variable, like var1, and either click elsewhere or press Enter.
Note how a new empty line is added to the bottom of the table. The name of a scenario variable must be unique within the set of a scenario’s variables. A scenario variable can have the same name as a parameter of a block that the scenario uses.
3. Create a second variable by clicking on the name cell in the final empty row and naming it var2.
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.