Difference between revisions of "ReverseTIA"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure InvertTIA(var TIA: TIntArray); </source> ==Availability== SCAR Divi 3.28 > Current ==Description== This function inv...")
(No difference)

Revision as of 11:02, 21 October 2011

Definition

procedure InvertTIA(var TIA: TIntArray);

Availability

SCAR Divi 3.28 > Current

Description

This function inverts a given TIntArray TIA by reversing the order of the coordinates contained in within it.

Example

var
  TIA: TIntArray;

begin
  TIA := [1, 2, 3];
  InvertTIA(TIA)
  WriteLn(TIAToStr(TIA));
end.

Output:

3,2,1

See Also