.ModelicaReference.Operators.'previous()'

Information

Gives the previous value of a clocked expression as part of the synchronous language elements.

Syntax

previous(u)

Description

The return argument has the same type as the input argument. Input and return arguments are on the same clock. At the first tick of the clock of u or after a reset transition, the start value of u is returned. At subsequent activations of the clock of u, the value of u from the previous clock activation is returned.


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f