Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Adds Wrong Class
Message
 
À
12/02/2008 20:43:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01291993
Message ID:
01292005
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform