[Lazarus] ComparePoints func
Michael Van Canneyt
michael at freepascal.org
Wed Jul 26 23:01:59 CEST 2017
On Wed, 26 Jul 2017, Alexey via Lazarus wrote:
>>> First start by defining what ComparePoints is supposed to measure or
>>> compare.
>
> yes, of course: compare source editor x/y positions. Ie, it is
> CompareCoords.
In that case you need some enumerated.
TRelativePosition =
(rpEqual,
rpNorth,rpEast,rpSouth,rpWest,
rpNorthEast,rpSouthEast,rpSouthWest,rpNorhWest);
+1, 0, -1 does not tell you enough.
Michael.
More information about the Lazarus
mailing list