Private variables question
- From: "Phill Harvey-Smith" <phill@xxxxxxxxxxxxxxxxx>
- Date: 30 Apr 2008 06:14:38 -0700
Hi,
This is more from a mater of interest than any technical reason, but there
seems to be a lot of code around where the private variables are called
FSomething e.g.
TYPE TSomeType=class(object)
PRIVATE
FLocalVar : INTEGER;
PUBLIC
PROPERTY LocalVar : INTEGER READ FLocalVar;
END;
What I guess i'm asking is why prefix it with 'F' ? I have been tending to
use 'Pr' in my own code for Private, I guess the compiler does not care,
just wondered why it seemed to be a convention ?
Cheers.
Phill.
.
- Follow-Ups:
- Re: Private variables question
- From: Remy Lebeau \(TeamB\)
- Re: Private variables question
- From: Rudy Velthuis [TeamB]
- Re: Private variables question
- From: Q Correll
- Re: Private variables question
- From: yannis
- Re: Private variables question
- From: Pieter Zijlstra
- Re: Private variables question
- From: Bob Swart
- Re: Private variables question
- From: Joanna Carter [TeamB]
- Re: Private variables question
- From: Bruce McGee
- Re: Private variables question
- Prev by Date: Re: RAD Studio Roadmap Updated
- Next by Date: Re: in-house development versus packaged solutions
- Previous by thread: Rad_studio_2007_help_vcl_win32_reference_pdf.ZIP problem
- Next by thread: Re: Private variables question
- Index(es):
Relevant Pages
|