Defining Logic > Statements > Local Variable

Local Variable

Creates a local variable of type IntegerCollapsed or RealCollapsed .

 

Local variables work much the same as attributes, except that they only are available within the logic that declares them. A new variable will be created for each entity that encounters LOCAL VARIABLE statement.

 

It is recommended you use local variables for the test variable in WHILE...DO loops.


© 2014 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com