Difference between revisions of "OffsetTIA"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure OffsetTIA(var TIA: TIntArray; const Offset: Integer); </source> ==Availability== SCAR Divi 3.34 > Current ==Descript...")
 
(Redirected page to TIAAdd)
Line 1: Line 1:
==Definition==
+
#REDIRECT [[TIAAdd]]
<source lang="scar" lines="false">
 
procedure OffsetTIA(var TIA: TIntArray; const Offset: Integer);
 
</source>
 
 
 
==Availability==
 
SCAR Divi 3.34 > Current
 
 
 
==Description==
 
Offsets the given [[TIntArray]] '''TIA''' by '''Offset'''.
 
 
 
==Example==
 
<source lang="scar">
 
var
 
  TIA: TIntArray; 
 
 
begin
 
  TIA := [5, -7, 1, 6, 88];
 
  OffsetTIA(TIA, 5); 
 
  WriteLn(TIAToStr(TIA));
 
end.
 
</source>
 
 
 
Output:
 
10,-2,6,11,93
 
 
 
<!--==See Also==
 
*[[OffsetATPA]]-->
 
 
 
[[Category:Functions]]
 
[[Category:TIA Functions]]
 
[[Category:Array Functions]]
 

Revision as of 17:46, 10 December 2012

Redirect to: