>Not really. I can have a single .prg called thefunc.prg. I can DO THEFUNC or I can llSuccess = THEFUNC(). I don't have to SET PROCEDURE TO THEFUNC first.
>
>I always have to have SET CLASSLIB TO to access that single class. Further, if that class is subclassed, VFP must be doing a SET CLASSLIB TO the parent class. There is also the issue of opening different classlibs with aliases and basically having to manage the entire set of opened classlibs.
>
I think you can live without SET CLASSLIB TO (with VFP8 at least), just use NEWOBJECT() instead of CREATEOBJECT()
NEWOBJECT(cClassName [, cModule [, cInApplication[, eParameter1, eParameter2, ...]]])
Same with subclassing, DEFINE CLASS MyChild Class AS MyClass OF C:\CLASSES\MyClasses.VCX
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges