On 2017-06-19 12:15, Fernando D. Bozzo wrote:
Hi Paul:
Just in case you didn't already think on possible setting's that can
affect
the performance heavily, and you keep looking what is different in VFP
9
that can make things so slow, I give you one that could be the
responsible:
Using for..each for looping into a VFP object without using the new
keyword
FOXOBJECT
I think that it is the most important change that need a code change to
maintain compatibility.
If the for..each is for looping a com object, then no problem, but if
the
object is a VFP object, then not having the FOXOBJECT keyword make VFP
treat the object as a com one, making it's access really slow
Just when I thought I couldn't learn anything more about VFP9....you
educated me on the FOXOBJECT keyword. I often use FOR EACH loops, and
they're ALWAYS fox objects. I'll have to remember this tip.
Thanks, Fernando!
--Mike
_______________________________________________
Post Messages to: ProFox@leafe.com
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/f2ea5054289953aa03a736d2edc51...@mbsoftwaresolutions.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.