Ada Programming/Attributes/'Old

Description

The value of X on entry, has same type as X.

Each X'Old in a postcondition expression that is enabled, other than those that occur in subexpressions that are determined to be unevaluated, denotes a constant that is implicitly declared at the beginning of the subprogram body, entry body, or accept statement.

Example

XOld return T
Category:Book:Ada Programming#Attributes/'Old%20
Category:Book:Ada Programming