Difference between revisions of "TIARemove"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure TIARemove(var TIA: TIntArray; const Int: Integer); </source> ==Availability== SCAR Divi 3.28 > Current ==Description...") |
(No difference)
|
Revision as of 19:13, 24 October 2011
Definition
procedure TIARemove(var TIA: TIntArray; const Int: Integer);
Availability
SCAR Divi 3.28 > Current
Description
Removes the last occurrence of a given integer Int in a TIntArray TIA. An extended function with additional functionality is available as TIARemoveEx.
Example
var TIA: TIntArray; begin TIA := [1, 5, 4, 8, 7, 4, 6]; TIARemove(TIA, 4); WriteLn(TIAToStr(TIA)); end.
Output:
1,5,4,8,7,6