Variable declarations
Before a variable or a named constant value can be referenced in a program, it must be declared.
The declaration gives the variable or named constant a unique name, a data type and, optionally except for constants, an initial value. There are three forms of variable declarations, the PrimitiveVariableDeclaration, the ReferenceVariableDeclaration and the Constant. You must supply a literal value for a constant. Aside from the types, the main difference is that the declarations for the primitive types are simpler than for reference types.
Variable declarations in actions and blocks are statements that are executed when the program’s control flow reaches them.
VariableDeclaration
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.