Difference between revisions of "TIADelete"
From SCAR Divi Manual
(→Availability) |
|||
Line 32: | Line 32: | ||
*[[TIAUnique]] | *[[TIAUnique]] | ||
*[[TIAAppend]] | *[[TIAAppend]] | ||
+ | *[[TIAInsert]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:TIA Functions]] | [[Category:TIA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] |
Revision as of 16:43, 23 April 2012
Definition
procedure TIADelete(var TIA: TIntArray; const Index: Integer);
Availability
SCAR Divi 3.28 > Current
- Before 3.32.01 the function didn't do anything when the index was out of bounds.
Description
Deletes the integer at a given position Index in a given TIntArray TIA. If the index is outside of the array bounds, the function throws an exception.
Example
var TIA: TIntArray; begin TIA := [1, 2, 3]; TIADelete(TIA, 1); WriteLn(TIAToStr(TIA)); end.
Output:
1,3