[fpc-devel] Slight calculation error in Bounds() procedure in Classes unit.

Mattias Gärtner nc-gaertnma at netcologne.de
Wed Jun 9 17:07:08 CEST 2010


Zitat von Graeme Geldenhuys <graemeg.lists at gmail.com>:

> Op 2010-06-09 16:06, Henry Vermaak het geskryf:
>>
>> * Because it would be idiotic to change something based on a point of
>> view of one person.
>
> It's not just one person. Lets just take the Rectangle type/structure.
>
> * Delphi has it's own (based on Windows TRect - how original)

left,top,right,bottom

> * fpGUI has it's own: TfpgRect

tell us

> * MSEgui has it's own: rectty

left,top,width,height

> * AggPas has it's own: rect_ptr, rect_d, rect_i

doubles and C int type. Aggpas is a C port. C people are used to  
reinvent the wheel.

> * KOL probably has it's own too

no

> * ... pretty sure there are more....

As far as I can see, every one of the above has a good reason to use  
their own type.

Mattias






More information about the fpc-devel mailing list