TEAAdd
From SCAR Divi Manual
Definition
procedure TEAAdd(var TEA: TExtArray; const Value: Extended);
Availability
SCAR Divi 3.38 > Current
Aliases
- OffsetTEA (SCAR Divi 3.38 > Current)
Description
Adds a given value Value to every value in the TExtArray TEA. A function with extended functionality is available as TEAAddEx.
Example
var TEA: TExtArray; begin TEA := [5.1, -7.2, 1.5, 6.8, 88.9]; TEAAdd(TEA, 0.6); WriteLn(TEAToStr(TEA)); end.
Output:
5.7,-6.6,2.1,7.4,89.5