Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help.....newbie in the house
Message
 
 
To
19/07/2001 18:14:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00532314
Message ID:
00532930
Views:
15
>Patrick-
>
>>actually, i was refering to NewObject vs CreateObject. i didn't realize
>>there was a NewObject function. for me, a real benefit of this
>>forum is to see mention of VFP features that i was not aware of.
>
>NewObject() was introduced in 6.0 (was it SP3? or the base version?) Anyway, it's nice. I like it, though people have found that it can be significantly slower than using CREATEOBJECT. However, since maintainability is as important an issue to consider as performance, I've found the trade-off to be worthwhile. YMMV.

Really? I didn't know that. I use NewObject as a function and NewObject as a method all the time. Is it really slow? For createobject we have to have set classlib to myclasslib prior to using it. Newobject doesn't require it.

NewObject was introduced in base VFP6.0 version. NewObject function existed before,IMHO, but method was introduced.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform