InvertTIA

From SCAR Divi Manual
Revision as of 22:01, 7 September 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure ReverseTIA(var TIA: TIntArray); </source> ==Availability== SCAR Divi 3.36 > Current ===Aliases=== *InvertTIA (SCA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure ReverseTIA(var TIA: TIntArray);

Availability

SCAR Divi 3.36 > Current

Aliases

  • InvertTIA (SCAR Divi 3.28 > 3.35)

Description

This function reverses the order of a given TIntArray TIA.

Example

var
  TIA: TIntArray;

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

Output:

3,2,1

See Also