TiTaNiuM sAMuRai 0 Posted June 14, 2002 Is there a function to determine if a particular class exists? For a non-existing class, will calls such as those which return the class attributes return a null value? Quote Share this post Link to post
Alexandre Villares 0 Posted June 15, 2002 Function ClassExists(ClassName : STRING) : BOOLEAN;BEGIN h1 := Nil; h1 := GetObject(ClassName); IF (h1 <> Nil) & (GetType(h1) = 94) THEN ClassExists := True ELSE ClassExists := False;END; []sAlexandre Quote Share this post Link to post