Difference between revisions of "TPAAppend"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure TPAAppend(var TPA: TPointArray; const Point: TPoint); </source> ==Availability== SCAR Divi 3.28 > Current ==Descript...")
 
Line 26: Line 26:
  
 
==See Also==
 
==See Also==
*[[MergeATPA]]
+
*[[TPARemove]]
 +
*[[TPARemovePoint]]
 +
*[[TPARemovePointEx]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:TPA Functions]]
 
[[Category:TPA Functions]]
 
[[Category:Array Functions]]
 
[[Category:Array Functions]]

Revision as of 00:42, 21 October 2011

Definition

procedure TPAAppend(var TPA: TPointArray; const Point: TPoint);

Availability

SCAR Divi 3.28 > Current

Description

Appends the given TPoint Point to end of the given TPointArray TPA.

Example

var
  TPA: TPointArray;

begin
  TPA := [Point(0, 0), Point(1, 1), Point(3, 3)];
  TPAAppend(TPA, Point(4, 4));
  WriteLn(TPAToStr(TPA));
end.

Output:

(0,0);(1,1);(3,3);(4,4)

See Also