Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Adds Wrong Class
Message
 
To
12/02/2008 20:43:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01291993
Message ID:
01292005
Views:
19
Ya, me either. I thought I heard one time that NewObject handles the instantiation differenty.

Who knows.



>>Yes, NewObject() creates a new instance from a library or application, but it doesn't appear to work
>>like AddObject(). AddObject adds the class to another object, while NewObject creates an instance and
>>returns the reference to it.
>
>I am getting a little confused by the help (I never used NewObject() myself). Did you use the METHOD NewObject(), 'Cause in my first reply, I said the FUNCTION NewObject. There may be a difference there.
>
>On the other hand, I don't quite grok the difference between AddObject() and NewObject().
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform