>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