Hi,
I am looking for suggestions to the following decision I have to make:
I have a public object (oApp) already working in the application. Now I need to add an object (also public) that will have a bunch of methods that I want to have available in every place of the application. I can add this new object to the application as a public object or I can add it as a property of the already existing one (oApp). For example:
public oCommon
oCommon = newobject("common_functions","my_commonlib.vcx")
oApp.oCommon = newobject("common_functions","my_commonlib.vcx")
What is a better approach in terms of memory management?
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham