TextVar Object

TextVar Object

The TextVar object allows you to insert dynamic, numerical text into your template. This object differs from the Text object by deleting the TEXT property and adding these 2 properties:

ValueEq
Value equation (This value can be a set constant number, a value evaluated from a simple equation, or a returned value from a VBScript). The value is formatted and displayed at run time.

-$, $, CONST

Format
This formats the numerical value using 'C' language standards. However, you should use only the numeric portion. For example, the format %5.2lf becomes 5.2, %5d becomes 5. One exception to this is when using BOOLEAN variables, the $ string gets converted into NO or YES.

To use this object edit the ValueEq property so that it's set to display a variable number value.