Difference between revisions of "ReverseTIA"
From SCAR Divi Manual
(→See Also) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | procedure | + | procedure ReverseTIA(var TIA: TIntArray); |
</source> | </source> | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3.28 > | + | SCAR Divi 3.36 > Current |
+ | |||
+ | ===Aliases=== | ||
+ | *InvertTIA (SCAR Divi 3.28 > 3.35) | ||
==Description== | ==Description== | ||
− | This function | + | This function reverses the order of a given [[TIntArray]] '''TIA'''. |
==Example== | ==Example== | ||
Line 17: | Line 20: | ||
begin | begin | ||
TIA := [1, 2, 3]; | TIA := [1, 2, 3]; | ||
− | + | ReverseTIA(TIA) | |
WriteLn(TIAToStr(TIA)); | WriteLn(TIAToStr(TIA)); | ||
end. | end. |
Latest revision as of 22:03, 7 September 2012
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