ReverseTIA

From SCAR Divi Manual
Revision as of 11:02, 21 October 2011 by Freddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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