Difference between revisions of "ReverseTIA"
From SCAR Divi Manual
(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...") |
|||
Line 29: | Line 29: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:TIA Functions]] |
[[Category:Array Functions]] | [[Category:Array Functions]] |
Revision as of 11:03, 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