[DUG] Component names

James Sugrue jamessugrue at xtra.co.nz
Thu Aug 25 15:35:12 NZST 2005


I am pretty sure its:

A - Parameter
P - Pointer to
F - Field or private member
T - Type or Class

etc

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Stacey Verner
Sent: Thursday, 25 August 2005 15:19
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Component names

That makes sense.

I have Seen PBob for Pointer to Bob and PPBob for pointer to Pointer to
Bob.

Sounds like "A" is probably a better way to go.

Stacey

> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz 
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of James Sugrue
> Sent: Thursday, 25 August 2005 14:53
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: RE: [DUG] Component names
> 
> I always though P was for Pointer too as in PAnsiChar, PChar etc...
> 
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz 
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Conor Boyd
> Sent: Thursday, 25 August 2005 14:43
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: RE: [DUG] Component names
> 
> Is it?
> 
> Not wanting to start a standards argument, but for example 
> AFAIK the Borland standard for attributes of a class is F for 
> field, e.g. FMyAttribute:
> String.  I've never seen P for parameter used widely at all...
> 
> Cheers,
> 
> C.
> 
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz 
> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Stacey Verner
> 
> Note: It is standard to prefix parameters with "P" (stands for
> parameter) or "A" (stands for argument) so you should have 
> PMyTable or PTable.
> Similarly Local variables are usually prefixed with "L". In 
> the end it makes it easy for figure out whene a variable 
> comes from. "P" is a parameter. "L"
> is a local variable and anything else is a property of your class.
> 
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/81 - Release 
> Date: 24/08/2005
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/81 - Release 
> Date: 24/08/2005
>  
> 
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 

_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005
 



More information about the Delphi mailing list