Bhavbhuti,
The ADD is a DEFINE CLASS clause and is used when you want to add objects to a class at desine time. The CREATEOBJECT() functin/AddObject() method require that classes wehere loaded into a memory with SET CLASSLIB/SET PROC commands. The NewObject() function/method allows to specify a library and even module where clas s is contained. It's slower than CREATEOBJECT() because it opens class library every time it's called.
>Hi all
>
>Being a relative newbie, I have used these 3 in different situations but without much insight, because they worked I kept them.
>
>What are the differences (except for parameters) and when are they to be used (in proper context)
>
>Please advise.
--sb--