Difference between revisions of "CopyTIAEx"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function CopyTIAEx(const TIA: TIntArray; const Index, Count: Integer): TIntArray; </source> ==Availability== SCAR Divi 3.28 ...") |
(No difference)
|
Revision as of 16:57, 12 December 2012
Definition
function CopyTIAEx(const TIA: TIntArray; const Index, Count: Integer): TIntArray;
Availability
SCAR Divi 3.28 > Current
Description
Creates a new TIntArray with a copy of every element in the given array TIA starting at Index with a length of Count.
Example
var TIA, TIA2: TIntArray; begin TIA := [2, 9, 7, 4, 5, 3]; TIA2 := CopyTIAEx(TIA, 2, 2); WriteLn(TIAToStr(TIA2)); end.
Output:
7,4