On Sun, November 16, 2008 11:11 pm, Matt Slay wrote: > I follow the common practice of using type prefixes when naming custom > Properties in classes and forms like this: > > > lAddMode cName oTextBox nSomeValue etc. > > Now then, is it also common to use those same prefixes when naming custom > Methods that return known types? > > > for instance: lUsesVCR() return Vartype(this.oPageFrame)= 'O'
No, I don't prefix the methods, but instead I name them appropriately: for instance: GetRecordObject(@toRecord) or GetTotalAmount(toParms) Consistency is the key here so that you and others can easily follow your code. Good luck! _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

