Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A New Creation
Message
De
17/01/2003 22:50:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
A New Creation
Divers
Thread ID:
00743090
Message ID:
00743090
Vues:
64
I have a habit of using code like this:

oMyObj = CreateObject("CoolClass")

when I want to instantiate a class. However I have been seeing code snippets that are more like:

oMyObj = NewObject("CoolClass")

When should I be using each?

Also, How do you all make your code look like code in your posts?
Carole Shaw
Fred Hutchinson Cancer Research Center

Eagles may soar, but weasels don't get sucked into jet engines.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform