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...")
(No difference)

Revision as of 22:46, 7 May 2012

Definition

procedure OffsetTIA(var TIA: TIntArray; const Offset: Integer);

Availability

SCAR Divi 3.34 > Current

Description

Offsets the given TIntArray TIA by Offset.

Example

var
  TIA: TIntArray;  
 
begin
  TIA := [5, -7, 1, 6, 88];
  OffsetTIA(TIA, 5);  
  WriteLn(TIAToStr(TIA));
end.

Output:

10,-2,6,11,93