A meter or measure is referenced as a section variable by placing the section name in brackets (
). The value provided by a section variable can be changed by adding parameters after a colon (
:). Multiple parameters are separated by commas (
,). Spaces are allowed after a comma.
Normal or built-in variables take priority over section variables, which means they can be used within section variables. For example:
[#Foo#:#Bar#]. (The reverse, such as
#[Foo][Bar]#, is not valid.)
Section variables are always dynamic.
DynamicVariables=1 is only needed in the section where the variable is being used, not the section that is being referenced.
Section variables for meters have no value without a parameter.
The current X or Y position of the meter.
Note: This provides the "real" X or Y value, which is the position of the top-left corner of the meter area. This is always an integer, even if the meter has no X and Y options set, or if the options use formulas, variables or relative positions.
The current width or height of the meter.
Note: This provides the "real" W or H value. This is always an integer, even if the meter has no W and H options set, or if the options use formulas or variables.
If no parameters are given, the measure's string value is provided.
If a blank parameter is given, the measure's number value is provided, with up to ten decimal places of precision.
The measure's number value, with the number of decimal places given.
The measure's number value, scaled by the divisor given.
The measure's number value, as a percentual value.