As far as I understand, you want to have one Custom object and instead of each public variable you will have one property in this object.
This is the usual technique when you have an application object. In this case you have just one object with a bunch of properties. Don't worry for just one object. It doesn't take too much memory.
Vlad
>In my application I got to initialize in main program a set of public varibles that I need to retrive fast during the app. execution.
>I don't know how an object created based on a class is stored in memory (and how much memory use) so I can not decide what to use:
>a Custom Type Class with these variable attached as propreties (and CreateObject("...")) or direct public variables to obtain best results.
>
>Thank U!
>Laurentiu
Précédent
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