Difference between revisions of "InvertTIA"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ReverseTIA(var TIA: TIntArray); </source> ==Availability== SCAR Divi 3.36 > Current ===Aliases=== *InvertTIA (SCA...")
 
(Redirected page to ReverseTIA)
Line 1: Line 1:
==Definition==
+
#REDIRECT [[ReverseTIA]]
<source lang="scar" lines="false">
 
procedure ReverseTIA(var TIA: TIntArray);
 
</source>
 
 
 
==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==
 
<source lang="scar">
 
var
 
  TIA: TIntArray;
 
 
 
begin
 
  TIA := [1, 2, 3];
 
  ReverseTIA(TIA)
 
  WriteLn(TIAToStr(TIA));
 
end.
 
</source>
 
 
 
Output:
 
3,2,1
 
 
 
==See Also==
 
*[[SortTIA]]
 
*[[SortTIAEx]]
 
 
 
[[Category:Functions]]
 
[[Category:TIA Functions]]
 
[[Category:Array Functions]]
 

Revision as of 22:03, 7 September 2012

Redirect to: