When using Text boxes or the Annotation Button (Interface) you can include the values of variables, and other attributes such as the equation or documentation. To do this insert the variable name and attribute you would like to display inside of ${}. For example ${Population:Documentation} would display the content of the Documentation Tab for the variable Population.
If you do not include any attribute (as in ${Population} or ${Population@1995} the value of Population (or the value of Population at time 1995) will be displayed.
The attribute is separated from the name by a colon : with no spaces. The list of attributes that can be displayed is:
ARRAY will display the comma separated list of array elements in the variable being displays without brackets as in large,red. If the variable is not arrayed this will be blank.
ARRAY1...ARRAY8 will display the individual array elements at the associated position. No punctuation will be added.
DOCUMENTATION will display the documentation for the variable as it was entered.
EQUATION will display the equation for the variable as it would appear in the Equation Tab (though summing converters will show something like a+b).
NAME will show the name of the variable. This is most useful for Placeholders, where it will show the selected Placeholder member.
RANGEMAX will show the maximum value on the input range (
) as specified in the Scales and Ranges Tab.
RANGEMIN will show the minimum value on the input range.
SCALEMAX will show the maximum value on the global scale (
) as specified in the Scales and Ranges Tab.
SCALEMIN will show the minimum value on the global scale.
TAGS will show a comma separated list of tags active for the variable as set on the Documentation Tab. If no tags are active it will be blank.
UNITS will show the units of measure for the variable.
VALUE will show the value for the variable, formatted according to the settings on the Scales and Ranges Tab. it can be followed by an option @ to specify a time as in ${sales:value@20}. If you do not specify any attribute the values will be reported as in ${sales@20}.
Note If Stella fails to make a substitution, either because it can't find the variable, or doesn't recognize the attribute, it will display the full expression with the ${} around it. This makes it easy to spot problems.
Note The substitution will occur when you finish editing. If you are editing in the panel the old substituted text will remain on the page until you finish editing.