Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject vs AddObject
Message
De
26/04/1999 14:54:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00212204
Message ID:
00212259
Vues:
32
>>>>>I am new. Please be patient.
>>>>>
>>>>>Briefly, what is the difference between CreateObject and AddObject.
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Vin
>>>>
>>>>Briefly, the difference is that AddObject can be used to add an object to container and CreateObject covers more common case: you create an object and may or may not associate it with some other object (container or not container). Normally, you should associate it, except the case when object is Local.
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>This is correct. CreateObject does not have to be associated with a Container.
>>>
>>>Pierre
>>>demester@VisualFoxPro.com
>>
>>Sorry, I don't quite understand your reply. What is 'correct'?
>>Before typing your answer, notice that I said 'normally'.
>
>Ed,
>
>Pierre replied earlier than you and implied that both CreateObject and AddAbject must be used for containers. Take a look at his earlier reply to Bhrugvish Vin.
>
>So, you inadvertently were correcting him...
>
>Take care,
>Joe

Ok :-). I really misunderstood.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform