Fixed Point Intrinsic Functions - Pred Method

Decrement the value by 1

Member of Fixed Point Intrinsic Functions (PRIM_LIBI.IFixedPointIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)DecimalResulting number

Details

Pred returns the supplied variable decremented by 1.

Example


If (#Previous = #Current.Pred)
This is equivalent to writing
If (#Previous = (#Current - 1))

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2