The ForetModel language allows the use of expressions to define attribute curves. In many cases, such as when the expressions refer to other curves, the curve is represented using the same x-axis points as the original, thus retaining the same fidelity of representation. When this is not possible (such as when an offset() function is used) the resulting curve will be calculated by iterating over the value of the expression for a series of x values. The iteration is controlled by the 'from', 'to' and 'by' parameters in the expression tag. After the curve is constructed, redundant points (interior points along a straight line) are removed.

The previous default values for the iteration parameters were 5, 255 and 10. The default values have now been changed to 0, 300 and 5, in order to better match with commonly used 5-year age classes.

The Woodstock translator has been updated to accept the specification of these parameters during the input dialog, and to allow them to be saved and restored from the hints file.

Minor changes and fixes:

Fix a regression in reports where an incorrect value for the PERIODWIDTH attribute would be used in calculations.

Improve error messages in the Matrix Builder to more specifically identify the source of a calculation error.