>Well John, don't you enjoy the simplification of NewObject(). Sure we are into OOP's and everything has to be a method call. But there are situation where one can issue a generic function call without class overhead.
>I would like to forget issuing :
> set procedure to ..., set library to ..., etc.
>and just call my function and let FoxPro take care of all the dirty work.
Anita,
You can by-pass the SET PROCEDURE to business with NEWOBJECT(). Here I'm assuming that the class is contained in a prg file. Simply pass the class name as the first parameter and the prg file name (with extension) as the second. Or am I misunderstanding your question?
George
Ubi caritas et amor, deus ibi est