On Dec 4, 2007, at 10:20 AM, MB Software Solutions wrote:

>> I have always declared arrays using
>> LOCAL ARRAY laTables(14)
>
> Hmmm...I never added the ARRAY keyword before.  Seems better (for
> readability anyway).

        For readability, I *never* use parentheses with arrays. Square  
brackets are much less ambiguous:

LOCAL laTables[14]

        Since I tend to have lots of variables in the local declaration, I  
don't use the ARRAY keyword, since I find this confusing:

LOCAL ARRAY laTables[14], lcFoo

        Is lcFoo an array? You might be able to guess by the Hungarian 'c',  
but maybe it's a typo, or written by someone who doesn't follow  
Hungarian precisely. Or maybe they meant an array of character values?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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.

Reply via email to