Difference between revisions of "TIAAppend"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 29: Line 29:
  
 
==See Also==
 
==See Also==
 +
*[[TIAInsert]]
 
*[[TIADelete]]
 
*[[TIADelete]]
 
*[[TIARemove]]
 
*[[TIARemove]]

Latest revision as of 16:27, 23 April 2012

Definition

function TIAAppend(var TIA: TIntArray; const Int: Integer): Integer;

Availability

SCAR Divi 3.28 > Current

  • Before 3.34 the function had no result.

Description

Appends the given integer Int to end of the given TIntArray TIA. The index of the appended element is returned.

Example

var
  TIA: TIntArray;

begin
  TIA := [0, 1, 3];
  WriteLn(TIAAppend(TIA, 4));
  WriteLn(TIAToStr(TIA));
end.

Output:

3
0,1,3,4

See Also