Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NewObject() vs AddObject()
Message
 
 
To
12/02/2008 20:58:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01292009
Message ID:
01292021
Views:
17
>I can't quite grok the help, and in actual practice I have only used AddObject (as well as CreateObject()). Is there any difference in behavior between the two functions - NewObject() and AddObject() - apart from the slightly different syntax (for instance, NewObject allows specifying a class library)?
>
>TIA,
>
>Hilmar.

AFAIK NewObject and AddObject are methods. NewObject allows to specify classlibrary, so it is supposed to be quicker (no need to search for loaded classes), but if my memory serves right, it's the reverse.
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