Clear Class, Clear Classlib
These two commands remove individual classes and entire class libraries from memory.
Usage |
CLEAR CLASS ClassName CLEAR CLASSLIB ClassLibName |
Neither of these commands works. When you issue either one correctly, you don't see any error messages, but the class or class library is not removed from memory. Use SET CLASSLIB TO without a class library to clear class libraries instead. |
Example |
SET CLASSLIB TO Connect oConn = CreateObject('ConnMgr') * Now work with the Connection Manager * When you're done, you should be able to do: CLEAR CLASSLIB Connect * But nothing happens. You can still oConn2 = CreateObject('ConnMgr') |
See Also |