Product Site

5.1.5.16. findPublicClass

Returns the public class named name. Returns .nil if no public class of the specified name exists within the scope of the receiving package.

See also method findClass.

Example 5.43. Package class — findPublicClass method
say .context~package~findPublicClass("String")   -- The String class
say .context~package~findPublicClass("Dummy")    -- The NIL object
say .context~package~findPublicClass("RexxInfo") -- The NIL object

::class Dummy   -- private class