TPointArray

From SCAR Divi Manual
Revision as of 16:00, 2 July 2011 by Freddy (talk | contribs)
Jump to: navigation, search

Definition

TPoint = array of TPoint;

Availability

SCAR Divi 3.00 > Current

Description

A dynamic array type based on the TPoint type. It holds a set of coordinates of undefined size.

Example

var
  TPA: TPointArray;

begin
  SetLength(TPA, 2);
  TPA[0] := Point(5, 6);
  TPA[1] := Point(7, -1);
  WriteLn('TPointArray: ' + TPAToStr(TPA));
end.

Output:

TPointArray: (5,6);(7,-1)

See Also