Sfairadora

  • Reference Guide

Subtraction

x - y
The operator computes a difference of two values of the types Int, Int8, Int16, Int64, Byte, Word, Dword, Qword, Real, Time, Date, and Date_time. The result is of the same type as the parameters.
When the result of integer subtraction exceeds maximum value of the given type the result overflows. The integer overflow is not considered an error. E.g. [Byte]5-[Byte]8 yields result 253. The real number overflow is an error.