On Wed, 26 Jul 2017, Alexey via Lazarus wrote:

On 26.07.2017 18:11, Graeme Geldenhuys via Lazarus wrote:
ComparePoints() returning a Integer is not a very friendly return type either,

Hm, in my app Int makes sense: i need to compare Points in binary search, and see: >, <, =.

This compare is very specific to your application.

I don't think it would be a good idea to generalize this.

Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to