Difference between revisions of "OffsetTEA"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure OffsetTEA(var TEA: TExtArray; const Offset: Extended); </source> ==Availability== SCAR Divi 3.37 > Current ==Desc...")
 
(Redirected page to TEAAdd)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Definition==
+
#REDIRECT [[TEAAdd]]
<source lang="scar" lines="false">
 
procedure OffsetTEA(var TEA: TExtArray; const Offset: Extended);
 
</source>
 
 
 
==Availability==
 
SCAR Divi 3.37 > Current
 
 
 
==Description==
 
Offsets the given [[TExtArray]] '''TEA''' by '''Offset'''.
 
 
 
==Example==
 
<source lang="scar">
 
var
 
  TEA: TExtArray; 
 
 
begin
 
  TEA := [5.1, -7.2, 1.5, 6.8, 88.9];
 
  OffsetTEA(TEA, 0.6); 
 
  WriteLn(TEAToStr(TEA));
 
end.
 
</source>
 
 
 
Output:
 
5.7,-6.6,2.1,7.4,89.5
 
 
 
<!--==See Also==
 
*[[OffsetATPA]]-->
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:TEA Functions]]
 
[[Category:TEA Functions]]
 
[[Category:Array Functions]]
 
[[Category:Array Functions]]

Latest revision as of 19:21, 10 December 2012

Redirect to: