Difference between revisions of "ReverseTIA"

From SCAR Divi Manual
Jump to: navigation, search
(See Also)
Line 27: Line 27:
 
==See Also==
 
==See Also==
 
*[[SortTIA]]
 
*[[SortTIA]]
 +
*[[SortTIAEx]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:TIA Functions]]
 
[[Category:TIA Functions]]
 
[[Category:Array Functions]]
 
[[Category:Array Functions]]

Revision as of 14:36, 23 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