Definition

Is the last forecast period

A relative reference in @if statements.

Returns

Example

If a model contains 6 years ending in 2011, and 2007–2011 are forecast, this formula:

@if(@islastfore, 1, 2)

returns 1 in 2011 (the last forecasted period), and a 2 in the other years.