>Lutz,
>
>Thank you very much for the detailed reply and help!
On top of what's been said here, yes you can call an object's method as a function, we do that a lot. Assume you have a PathHelper class, and then, for example
lcPath=oPathHelper.getAppHomePath()
To have that object accessible, make it a global variable, or, if you also want to reduce the number of global variables, set it as a property of one global object:
oApp.NewObject("oPathHelper", "pathhelper", "helpers.vcx")
lcPath=oApp.oPathHelper.getAppHomePath()
I've seen this done many times, and I did it too.