>It isn't. If you instantiate the class with newobject or with SET CLASSLIB TO, you'll allocate memory either way. What I failed to clarify is that if you instantiate the class everytime you needed, there is overhead involved vs. doing it only once.
It's not a memory issue, it's a performance issue. NEWOBJECT() is slower because it has to find the specified library, open it (doing all the necessary parsing), instantiate the class, and close the class library. With SET CLASSLIB TO, you skip all but the instantiating task when you CREATEOBJECT().
Doug
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only