Page 1 of 1

Harbour/Clipper classes name

Posted: Fri Apr 08, 2016 3:07 pm
by srvet_claudio
A silly question:
someone knows why by convention the Harbour/Clipper classes generally use the prefix T in the name ?
e.g. TBrowse

PD: in C++, Java, etc. by convention the prefix in the name of classes is C ("C"lass).

Re: Harbour/Clipper classes name

Posted: Fri Apr 08, 2016 3:49 pm
by vagblad
I am not sure and it's just a speculation, but the same thing was happening in Delphi when i was using that.All the classes were being used with the "T" in front.
Maybe it comes from T for type? So TBrowse = object of Type Browse.

Anyway its just my random thought :D

Re: Harbour/Clipper classes name

Posted: Fri Apr 08, 2016 4:48 pm
by esgici
vagblad wrote:I am not sure and it's just a speculation, but the same thing was happening in Delphi when i was using that.All the classes were being used with the "T" in front.
Maybe it comes from T for type? So TBrowse = object of Type Browse.

Anyway its just my random thought :D
My quess : "T" is last letter of "object" :?

Importance is : Harbour support class definition (and all other class based statements and functions) and Clipper not 8-)

Viva Harbour :D

Re: Harbour/Clipper classes name

Posted: Fri Apr 08, 2016 5:00 pm
by srvet_claudio
Thanks Friends.

Re: Harbour/Clipper classes name

Posted: Sun Apr 10, 2016 1:29 am
by apais
It comes from Borland compiler's GUI framework.
Some early clipper clones like C3 emulated that class hierachy.

Re: Harbour/Clipper classes name

Posted: Sun Apr 10, 2016 1:37 am
by srvet_claudio
Thanks Angel.