+1 888 340 6572

Variable: Difference between revisions

From MultiCharts
mNo edit summary
mNo edit summary
Line 14: Line 14:
:'''InitialValue''' - an expression, specifying the initial value and defining the variable type. The value can be a numerical, string, or true/false expression; the type of the expression defines the variable type.  
:'''InitialValue''' - an expression, specifying the initial value and defining the variable type. The value can be a numerical, string, or true/false expression; the type of the expression defines the variable type.  
:'''DataN''' - an optional parameter; specifies the Data Number of the data series the variable is to be tied to. If this parameter is not specified, the variable will be tied to the default data series.  
:'''DataN''' - an optional parameter; specifies the Data Number of the data series the variable is to be tied to. If this parameter is not specified, the variable will be tied to the default data series.  
 
== Notes ==
* The reserved word '''Variable''' is the equivalent of '''Variables''', '''Var''', and '''Vars'''.
 
== Example ==
== Example ==
Declare ''Avg.'' as a numerical variable with the initial value of 20:  
Declare ''Avg.'' as a numerical variable with the initial value of 20: