On Mon, Mar 7, 2016 at 1:14 PM, Gene Wirchenko <[email protected]> wrote:
>
>      The compiler does not throw an error if you have two methods of the
> same name in a class.  (It should.)  Whenever I searched for the method, I
> found the first one.  When there are two methods of the same name, VFP
> executes the second.
>

When there are two methods (functions) of the same name in a program
or procedure file, the last is executed, too. That may or may not be a
bug, or a neat feature you can exploit using conditional INCLUDES. I
lean towards the former.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4t05rsrt3ykbw-_dvq63xf0hvhqbcjux+drpjf_pjk...@mail.gmail.com
** 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