Product Site

5.1.5.13. findClass

Performs the standard environment symbol searches given name. The search is performed using the same search mechanism used for environment symbols or class names specified on ::CLASS directives. If the name is not found, .nil will be returned.

Note that the standard environment symbol search will return an object instance (and not a class) when searching e. g. for "nil", "true", "false", "endofline", "RexxInfo", or objects in the .LOCAL directory.

See also method findPublicClass.

Example 5.40. Package class — findClass method
say .RexxInfo~package~findClass("Dummy")  -- The NIL object
say .context~package~findClass("Dummy")   -- The DUMMY class

::class Dummy