gicio Posted January 3, 2003 Share Posted January 3, 2003 looking for something like a code guidline.... i.e. that a TextBox should have the prefix: txt TextBox --> txt i.e. txtCustomer Label --> lbl i.e. lblCustomer String --> str i.e. strCustomer bool --> boo i.e. booIsValide is something like that anywhere available? gicio Link to comment Share on other sites More sharing options...
0 neowin_hipster Posted January 3, 2003 Share Posted January 3, 2003 I don't konw of any standard convention. Even with prefixes its debatle whether to use _ of captials or just long words or whatnot. It depends on your company and school or whatnot. Link to comment Share on other sites More sharing options...
0 Tobbe Posted January 3, 2003 Share Posted January 3, 2003 I use my own. s = String l = Long i = Intiger b = Boolean h = Handle obj = Some Object I don't like too long prefixes... like "boo", that is redundant. I use txt, lbl, img, pic and on... Link to comment Share on other sites More sharing options...
0 codemonkey Posted January 4, 2003 Share Posted January 4, 2003 looking for something like a code guidline....i.e. that a TextBox should have the prefix: txt TextBox --> txt i.e. txtCustomer Label --> lbl i.e. lblCustomer String --> str i.e. strCustomer bool --> boo i.e. booIsValide is something like that anywhere available? gicio MSDN has a good one that I use all the time. check it out here. http://msdn.microsoft.com/library/default....conventions.asp Link to comment Share on other sites More sharing options...
Question
gicio
looking for something like a code guidline....
i.e. that a TextBox should have the prefix: txt
TextBox --> txt i.e. txtCustomer
Label --> lbl i.e. lblCustomer
String --> str i.e. strCustomer
bool --> boo i.e. booIsValide
is something like that anywhere available?
gicio
Link to comment
Share on other sites
3 answers to this question
Recommended Posts