• Reference Guide

Value Addition

x += value
The operator adds a value to the variable or data item x. The variable must be of one of the types: Int, Int8, Int16, Int64, Byte, Word, Dword, Qword, Real, Time, Date, Date_time.
If the result of the integer addition exceeds the maximum value of the type, an overflow occurs, which is not an error. The real number overflow is an error.
The result is an l-value referring to the variable being assigned.
The operator is an abbreviation for x = x + value.