TRY o=crea("somethingthatdoesnotexist") CATCH TO oErr ? "Catch:",oErr.ErrorNo ENDTRY>Is there any function like
IsDefined("MyClass")
that tells me if MyClass is defined? I need this function in a loop where the class name is constructed at runtime and, if defined, an object will be instantiated. e.g.>for Loop = 1 to MaxClass > NewClass = ConstructClassName(Loop) > if IsDefined(NewClass) > oObject = CreateObject(NewClass) > * do something > end >endfor >>