Developing Apama Applications > Dashboard Function Reference > Scalar Functions > Init Local Variable
Init Local Variable
Initializes the local variable to the specified value. If the variable already has a non-empty value, this function does nothing.
Arguments
This function has the following arguments:
*Variable Name: Text string specifying the variable whose value is to be initialized.
*Initial Value: Numeric value or text string specifying the initial value to which the variable is to be set.
This function is useful for initializing a local variable to a value supplied by a data attachment.
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.