Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Programmation Orientée Object
Versions des environnements
You might also create a set_datasession method in the relevant clases.
Anyway I prefer a factory to produce an object and not just tell me the class name. In special cases a CreateObject() might not even work, if I wanted to create an object based on a class within another EXE or APP, I'd need NewObject(). I might also want to create an object based on "empty", so the factory could produce this by Createobject("empty") and add properties/subobjects to it, then hand out the ready to use object.
Bye, Olaf.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement