Last

This function stores the specified value and returns the previous value.

Syntax

Last ( value )

Remarks

This function can be useful for detecting a change in the state of a variable.

Example

An alarm can be configured to detect the change in a variable using the following expression:

   "Server:CR1000.one_hour.temp_degf" <> Last("Server:CR1000.one_hour.temp_degf")