Difference between revisions of "TEAAdd"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure TEAAdd(var TEA: TExtArray; const Value: Extended); </source> ==Availability== SCAR Divi 3.38 > Current ===Aliases...") |
|||
Line 37: | Line 37: | ||
[[Category:TEA Functions]] | [[Category:TEA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] | ||
+ | [[Category:Math Functions]] |
Latest revision as of 16:34, 12 December 2012
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